X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fauth%2FLocalPasswordPrimaryAuthenticationProvider.php;h=7f93c12d4c330d4087e2b3fa5c4ad5fc903af1d6;hb=509c8d6e378a8decae43dcb27276ddae40dc1143;hp=fd36887c0620aee1abe322366720b3fda8abc22d;hpb=d58ba34ea04c6874432ebd09b58797588777e0ca;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/auth/LocalPasswordPrimaryAuthenticationProvider.php b/includes/auth/LocalPasswordPrimaryAuthenticationProvider.php index fd36887c06..7f93c12d4c 100644 --- 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() ) { - $req = clone( $req ); + $req = clone $req; $req->username = $user->getName(); } $ret = AuthenticationResponse::newPass( $req->username );