Page MenuHomePhabricator

D7621.id.diff
No OneTemporary

D7621.id.diff

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

Mime Type
text/plain
Expires
Sat, Mar 22, 8:22 PM (3 d, 44 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7704924
Default Alt Text
D7621.id.diff (1 KB)

Event Timeline