We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 472bafb commit f94f4f5Copy full SHA for f94f4f5
1 file changed
interface/web/login/index.php
@@ -298,7 +298,7 @@
298
$error = $app->lng('error_user_password_incorrect');
299
if($app->db->errorMessage != '') $error .= '<br />'.$app->db->errorMessage != '';
300
301
- $app->plugin->raiseEvent('login_failed', $this);
+ $app->plugin->raiseEvent('login_failed', $username);
302
//* Save failed login message to var
303
$authlog = 'Failed login for user \''. $username .'\' from '. long2ip($ip) .' at '. date('Y-m-d H:i:s');
304
$authlog_handle = fopen($conf['ispconfig_log_dir'].'/auth.log', 'a');
@@ -309,7 +309,7 @@
309
} else {
310
//* Username or password empty
311
if($error == '') $error = $app->lng('error_user_password_empty');
312
- $app->plugin->raiseEvent('login_empty', $this);
+ $app->plugin->raiseEvent('login_empty', $username);
313
}
314
315
0 commit comments