Browse Source

changing failed auth to warning

pull/6482/head
Philipp Holzer 2 years ago
committed by Hypolite Petovan
parent
commit
c38782731f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Module/Login.php

+ 1
- 1
src/Module/Login.php View File

@ -148,7 +148,7 @@ class Login extends BaseModule
);
}
} catch (Exception $e) {
Logger::notice('authenticate: failed login attempt', ['action' => 'login', 'username' => Strings::escapeTags($username), 'ip' => $_SERVER['REMOTE_ADDR']]);
Logger::warning('authenticate: failed login attempt', ['action' => 'login', 'username' => Strings::escapeTags($username), 'ip' => $_SERVER['REMOTE_ADDR']]);
info('Login failed. Please check your credentials.' . EOL);
$a->internalRedirect();
}


Loading…
Cancel
Save