Skip to content
Snippets Groups Projects
Verified Commit f889334a authored by Pavel Břoušek's avatar Pavel Břoušek
Browse files

style: PSR12

parent 45283085
No related branches found
No related tags found
No related merge requests found
Pipeline #194270 passed with warnings
......@@ -59,10 +59,12 @@ class ECPAuth extends UserPassBase
if (array_key_exists('username', $_POST)) {
$username = $_POST['username'];
} elseif ($source->getRememberUsernameEnabled() && array_key_exists(
$source->getAuthId() . '-username',
$_COOKIE
)) {
} elseif (
$source->getRememberUsernameEnabled() && array_key_exists(
$source->getAuthId() . '-username',
$_COOKIE
)
) {
$username = $_COOKIE[$source->getAuthId() . '-username'];
} elseif (isset($state['core:username'])) {
$username = (string) $state['core:username'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment