]> git.defcon.no Git - hermes/commitdiff
Removed 'access' => 'no_access' from each and every 'auth/remove_user'
authorJon Langseth <jon.langseth@lilug.no>
Sat, 21 Jan 2012 00:42:51 +0000 (01:42 +0100)
committerJon Langseth <jon.langseth@lilug.no>
Sat, 21 Jan 2012 00:42:51 +0000 (01:42 +0100)
api/auth.php

index 9fcd6e2fbf32758ae1a6f86f94d4323fdbd5f3cf..50050e515dc695c55edf9a300a5ae5b2f8f21e45 100644 (file)
@@ -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') );