dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "filecache: Use current action instead of "view" only in outage mode"
[lhc/web/wiklou.git]
/
includes
/
auth
/
LocalPasswordPrimaryAuthenticationProvider.php
diff --git
a/includes/auth/LocalPasswordPrimaryAuthenticationProvider.php
b/includes/auth/LocalPasswordPrimaryAuthenticationProvider.php
index
fd36887
..
7f93c12
100644
(file)
--- a/
includes/auth/LocalPasswordPrimaryAuthenticationProvider.php
+++ b/
includes/auth/LocalPasswordPrimaryAuthenticationProvider.php
@@
-297,7
+297,7
@@
class LocalPasswordPrimaryAuthenticationProvider
// Nothing we can do besides claim it, because the user isn't in
// the DB yet
if ( $req->username !== $user->getName() ) {
// Nothing we can do besides claim it, because the user isn't in
// the DB yet
if ( $req->username !== $user->getName() ) {
- $req = clone
( $req )
;
+ $req = clone
$req
;
$req->username = $user->getName();
}
$ret = AuthenticationResponse::newPass( $req->username );
$req->username = $user->getName();
}
$ret = AuthenticationResponse::newPass( $req->username );