Skip to content

Commit 1401003

Browse files
committed
Refactor process_login_request 3: Explicit return statement
1 parent f877cde commit 1401003

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interface/web/login/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ function process_login_request(app $app, &$error, $conf, $module)
8080
//* Username or password empty
8181
if ($error == '') $error = $app->lng('error_user_password_empty');
8282
$app->plugin->raiseEvent('login_empty', $username);
83+
return;
8384
} else {
8485
/*
8586
* Check, if there is a "login as" instead of a "normal" login

0 commit comments

Comments
 (0)