feat: add no auth to quick setup (#621)

This commit is contained in:
Henrique Dias authored and GitHub committed 2019-01-08 18:43:04 +00:00
1 parent d0fd97d943
commit e0a3ce95f2
3 files changed
+35 -22

No files matched your search

+1 -1
View File
@@ -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))
}