Verified Commit ea51b5e4 authored by Helmo's avatar Helmo
Browse files

Re-add lost logging for loginAs scenario

parent a316c437
......@@ -134,6 +134,8 @@ function process_login_request(app $app, &$error, $conf, $module)
if ($loginAs) {
echo 'LOGIN_REDIRECT:'.$_SESSION['s']['module']['startpage'];
$app->plugin->raiseEvent('login', $username);
$app->auth_log('Successful login for user \''. $username .'\' ' . $msg . ' from '. $_SERVER['REMOTE_ADDR'] .' at '. date('Y-m-d H:i:s') . ' with session ID ' .session_id());
exit;
} else {
......
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