X-Git-Url: https://git.defcon.no/?a=blobdiff_plain;f=api%2Flib%2Fauth_plugins%2Fpermitall.php;fp=api%2Flib%2Fauth_plugins%2Fpermitall.php;h=8bcd2baf84c7b3b1f2bbd9083ecd322125bb1599;hb=726f4037a48240b4104070bad824ea2e31e959e1;hp=24a1ad41511b87d0de179be55843e1b140cc1e60;hpb=ad1d2910ca34f0d69be10b637a4294a400beceb8;p=hermes diff --git a/api/lib/auth_plugins/permitall.php b/api/lib/auth_plugins/permitall.php index 24a1ad4..8bcd2ba 100644 --- a/api/lib/auth_plugins/permitall.php +++ b/api/lib/auth_plugins/permitall.php @@ -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;