Browse Source

Fixed compile error from last commit (oops)

master
Gisle Aune 7 years ago
parent
commit
4d535f9d8a
  1. 2
      auth/user.go

2
auth/user.go

@ -28,5 +28,5 @@ func (user *User) LoggedOut() bool {
// NewUser creates a new User object
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}
}
Loading…
Cancel
Save