Commit 1311f105 authored by Till Brehm's avatar Till Brehm
Browse files

Fixed: #4486 PHP Fatal error: Using $this when not in object context

parent 30ead37e
......@@ -259,7 +259,7 @@ if(count($_POST) > 0) {
}
}
$app->plugin->raiseEvent('login', $this);
$app->plugin->raiseEvent('login', $username);
//* Save successfull login message to var
$authlog = 'Successful login for user \''. $username .'\' from '. long2ip($ip) .' at '. date('Y-m-d H:i:s');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment