renaming and moving from security to Model/Item and BaseModule

This commit is contained in:
Jonny Tischbein 2018-10-17 21:34:15 +02:00
parent e7f4dc8454
commit 0bb8fdfde2
5 changed files with 15 additions and 11 deletions

View file

@ -472,7 +472,7 @@ function windowsphonepush_login(App $a)
die('This api requires login');
}
Authentication::success($record);
Authentication::setAuthenticatedSessionForUser($record);
$_SESSION["allow_api"] = true;
Addon::callHooks('logged_in', $a->user);
}