Skip to content

Commit 21e99c1

Browse files
committed
Refactor process_login_request 6: Explicit return statement.
1 parent a8ec0a1 commit 21e99c1

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
@@ -92,6 +92,7 @@ function process_login_request(app $app, &$error, $conf, $module)
9292
//* too many failed logins
9393
if ($alreadyfailed['times'] > 5) {
9494
$error = $app->lng('error_user_too_many_logins');
95+
return;
9596
} else {
9697
if ($loginAs) {
9798
$sql = "SELECT * FROM sys_user WHERE USERNAME = ? and PASSWORT = ?";

0 commit comments

Comments
 (0)