Rename function Authentication::authenticate_success to Authentication::success

This commit is contained in:
Jonny Tischbein 2018-10-17 18:45:32 +02:00
parent 45e5a7f59f
commit ce2b1f5715
5 changed files with 7 additions and 7 deletions

View file

@ -242,7 +242,7 @@ function api_login(App $a)
throw new UnauthorizedException("This API requires login");
}
Authentication::authenticate_success($record);
Authentication::success($record);
$_SESSION["allow_api"] = true;