]> git.defcon.no Git - hermes/blobdiff - api/lib/auth_plugins/permitall.php
Starting to get parts of an auth-framework operational...
[hermes] / api / lib / auth_plugins / permitall.php
index 24a1ad41511b87d0de179be55843e1b140cc1e60..8bcd2baf84c7b3b1f2bbd9083ecd322125bb1599 100644 (file)
@@ -33,6 +33,10 @@ function authmethod_readonly ()
 // Fetch user geckos (basic display info)
 function authuser_getinfo ( $username )
 {
+       // Obviously we are returning dummy data here.
+       // on a real auth method, valid returns values
+       // would be a $user array on success, or false
+       // on error.
        $user['name']     = "Default User";
        $user['email']    = "example@example.com";
        return $user;