dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
864be4b
)
Password reset link is shown when no reset options are available
author
Huji Lee
<huji.huji@gmail.com>
Mon, 3 Oct 2016 18:34:50 +0000
(14:34 -0400)
committer
Huji Lee
<huji.huji@gmail.com>
Mon, 3 Oct 2016 18:34:50 +0000
(14:34 -0400)
Bug: T144705
Change-Id: I7d6b563e32039e7313121de9629f02ad4f02d351
includes/specialpage/LoginSignupSpecialPage.php
patch
|
blob
|
history
diff --git
a/includes/specialpage/LoginSignupSpecialPage.php
b/includes/specialpage/LoginSignupSpecialPage.php
index
bf83e7b
..
275e121
100644
(file)
--- a/
includes/specialpage/LoginSignupSpecialPage.php
+++ b/
includes/specialpage/LoginSignupSpecialPage.php
@@
-1070,7
+1070,7
@@
abstract class LoginSignupSpecialPage extends AuthManagerSpecialPage {
}
if ( !$this->isSignup() && $this->showExtraInformation() ) {
$passwordReset = new PasswordReset( $this->getConfig(), AuthManager::singleton() );
- if ( $passwordReset->isAllowed( $this->getUser() ) ) {
+ if ( $passwordReset->isAllowed( $this->getUser() )
->isGood()
) {
$fieldDefinitions['passwordReset'] = [
'type' => 'info',
'raw' => true,