allow error string to be null in case the password was correct
default-pipeline default-pipeline #178
default-pipeline default-pipeline #178
This commit is contained in:
1 parent
430b32d0c6
commit
ad0b8d078f
1 file changed
+1
-1
@@ -210,7 +210,7 @@ class UserController implements ISecured
|
||||
return new JsonContent(['success' => true]);
|
||||
}
|
||||
|
||||
private function confirmUserIdentity(User $user, ?DateTime $authenticatedWithGoogleUntil, ?string $password, string &$error): bool
|
||||
private function confirmUserIdentity(User $user, ?DateTime $authenticatedWithGoogleUntil, ?string $password, ?string &$error): bool
|
||||
{
|
||||
if ($authenticatedWithGoogleUntil !== null && $authenticatedWithGoogleUntil > new DateTime()) {
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user