]> git.mxchange.org Git - friendica.git/blobdiff - include/api.php
Renaming functions + moving functions from security to Model/Item and BaseModule...
[friendica.git] / include / api.php
index f853798912e0a053f7542ab9d11639728df35bde..5e108632c99b5059f464636d517d89b400d08e20 100644 (file)
@@ -242,7 +242,7 @@ function api_login(App $a)
                throw new UnauthorizedException("This API requires login");
        }
 
-       Authentication::success($record);
+       Authentication::setAuthenticatedSessionForUser($record);
 
        $_SESSION["allow_api"] = true;