File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 298298 $ error = $ app ->lng ('error_user_password_incorrect ' );
299299 if ($ app ->db ->errorMessage != '' ) $ error .= '<br /> ' .$ app ->db ->errorMessage != '' ;
300300
301- $ app ->plugin ->raiseEvent ('login_failed ' , $ this );
301+ $ app ->plugin ->raiseEvent ('login_failed ' , $ username );
302302 //* Save failed login message to var
303303 $ authlog = 'Failed login for user \'' . $ username .'\' from ' . long2ip ($ ip ) .' at ' . date ('Y-m-d H:i:s ' );
304304 $ authlog_handle = fopen ($ conf ['ispconfig_log_dir ' ].'/auth.log ' , 'a ' );
309309 } else {
310310 //* Username or password empty
311311 if ($ error == '' ) $ error = $ app ->lng ('error_user_password_empty ' );
312- $ app ->plugin ->raiseEvent ('login_empty ' , $ this );
312+ $ app ->plugin ->raiseEvent ('login_empty ' , $ username );
313313 }
314314}
315315
You can’t perform that action at this time.
0 commit comments