feat: add no auth to quick setup (#621)
This commit is contained in:
1 parent
d0fd97d943
commit
e0a3ce95f2
3 files changed
+35
-22
No files matched your search
+1
-1
@@ -15,5 +15,5 @@ type NoAuth struct{}
|
||||
|
||||
// Auth uses authenticates user 1.
|
||||
func (a NoAuth) Auth(r *http.Request, sto *users.Storage, root string) (*users.User, error) {
|
||||
return sto.Get(root, 1)
|
||||
return sto.Get(root, uint(1))
|
||||
}
|
||||
Reference in new issue
Block a user