Rename function Authentication::authenticate_success to Authentication::success
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user