]> git.defcon.no Git - hermes/blobdiff - api/auth.php
Testing uncovered bug, duplicate function name.
[hermes] / api / auth.php
index 336c6c34fa7fc1d074e3ce5149a5afd761bf1e1e..9fcd6e2fbf32758ae1a6f86f94d4323fdbd5f3cf 100644 (file)
@@ -254,7 +254,7 @@ else
                        // but should only return users with authorization.
                        if ( ! can_write() )
                                simple_authfail();
-                       $list = list_users();
+                       $list = list_authusers();
                        print json_encode( array( 'response' => 'ok', 'list' => $list ) );
                        break;