Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15417982
D7621.diff
No One
Temporary
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
Index: src/applications/auth/controller/PhabricatorEmailVerificationController.php
===================================================================
--- src/applications/auth/controller/PhabricatorEmailVerificationController.php
+++ 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.');
Index: src/applications/auth/controller/PhabricatorMustVerifyEmailController.php
===================================================================
--- src/applications/auth/controller/PhabricatorMustVerifyEmailController.php
+++ 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/plain
Expires
Fri, Mar 21, 7:54 PM (3 d, 1 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7704924
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