Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F84438
D7621.diff
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7621.diff
View Options
diff --git a/src/applications/auth/controller/PhabricatorEmailVerificationController.php b/src/applications/auth/controller/PhabricatorEmailVerificationController.php
--- a/src/applications/auth/controller/PhabricatorEmailVerificationController.php
+++ b/src/applications/auth/controller/PhabricatorEmailVerificationController.php
@@ -44,7 +44,7 @@
'user. Make sure you followed the link in the email correctly and are '.
'logged in with the user account associated with the email address.');
$continue = pht('Rats!');
- } else if ($email->getIsVerified()) {
+ } else if ($email->getIsVerified() && $user->getIsEmailVerified()) {
$title = pht('Address Already Verified');
$content = pht(
'This email address has already been verified.');
diff --git a/src/applications/auth/controller/PhabricatorMustVerifyEmailController.php b/src/applications/auth/controller/PhabricatorMustVerifyEmailController.php
--- a/src/applications/auth/controller/PhabricatorMustVerifyEmailController.php
+++ b/src/applications/auth/controller/PhabricatorMustVerifyEmailController.php
@@ -19,7 +19,7 @@
$email = $user->loadPrimaryEmail();
- if ($email->getIsVerified()) {
+ if ($user->getIsEmailVerified()) {
return id(new AphrontRedirectResponse())->setURI('/');
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/ti/47/tqgaub7vti5ztus5
Default Alt Text
D7621.diff (1 KB)
Attached To
Mode
D7621: Recover more flexibly from an already-verified email
Attached
Detach File
Event Timeline
Log In to Comment