mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
fmt.
This commit is contained in:
@ -61,7 +61,7 @@ func (provider *MemberProviderCtx) Insert(username string, password string, prof
|
||||
entries[id] = MemberEntry{
|
||||
// TODO: Use hash function.
|
||||
Password: password,
|
||||
Profile: profile,
|
||||
Profile: profile,
|
||||
}
|
||||
|
||||
return id, provider.serialize(entries)
|
||||
|
@ -36,7 +36,7 @@ func New(sessions types.SessionManager, config *config.Member) *MemberManagerCtx
|
||||
default:
|
||||
manager.provider = dummy.New()
|
||||
}
|
||||
|
||||
|
||||
return manager
|
||||
}
|
||||
|
||||
|
@ -83,7 +83,7 @@ func (provider *MemberProviderCtx) Insert(username string, password string, prof
|
||||
provider.entries[id] = &MemberEntry{
|
||||
// TODO: Use hash function.
|
||||
Password: password,
|
||||
Profile: profile,
|
||||
Profile: profile,
|
||||
}
|
||||
|
||||
return id, nil
|
||||
|
Reference in New Issue
Block a user