From: Jon Langseth Date: Sat, 21 Jan 2012 00:42:51 +0000 (+0100) Subject: Removed 'access' => 'no_access' from each and every 'auth/remove_user' X-Git-Url: https://git.defcon.no/?p=hermes;a=commitdiff_plain;h=3d7c00b0b44ff6c0b763ffe7343cf5c8d76909e5 Removed 'access' => 'no_access' from each and every 'auth/remove_user' --- diff --git a/api/auth.php b/api/auth.php index 9fcd6e2..50050e5 100644 --- a/api/auth.php +++ b/api/auth.php @@ -240,7 +240,7 @@ else } } - print json_encode( array( 'response' => 'ok', 'user' => $user, 'access' => authlevel_name( get_authorization( "user", $user ) ) ) ); + print json_encode( array( 'response' => 'ok', 'user' => $user ) ); break; } else print json_encode ( array( 'response' => 'invalid') );