system: spacing in previous

This commit is contained in:
Franco Fichtner 2021-11-18 16:30:47 +01:00
parent 0b76f2a821
commit 8802b0ced1

View File

@ -62,8 +62,8 @@ function authenticate_user($username, $password)
if ($authenticator != null && $authenticator->authenticate($username, $password)) {
$authResult = $authenticator->getLastAuthProperties();
if (array_key_exists('username', $authResult)) {
$username = $authResult['username'];
}
$username = $authResult['username'];
}
return $username;
}
}