Fixed compile error from last commit (oops)

This commit is contained in:
2017-10-06 21:16:37 +02:00
parent 446c6e4ef9
commit 4d535f9d8a
+1 -1
View File
@@ -28,5 +28,5 @@ func (user *User) LoggedOut() bool {
// NewUser creates a new User object // NewUser creates a new User object
func NewUser(method Authenticator, id, level string, data map[string]string) *User { func NewUser(method Authenticator, id, level string, data map[string]string) *User {
return &User{id, level, data, method, false} return &User{id, level, data, nil, method, false}
} }