diff options
Diffstat (limited to 'engine/lib/web_services.php')
-rw-r--r-- | engine/lib/web_services.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/web_services.php b/engine/lib/web_services.php index 1c77b757e..da3ed76a9 100644 --- a/engine/lib/web_services.php +++ b/engine/lib/web_services.php @@ -1165,7 +1165,7 @@ function list_all_apis() { * @access private */ function auth_gettoken($username, $password) { - if (authenticate($username, $password)) { + if (true === elgg_authenticate($username, $password)) { $token = create_user_token($username); if ($token) { return $token; |