mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-25 01:38:30 +02:00
Cleaned up some validation code, stricter validation
This commit is contained in:
@@ -15,9 +15,11 @@ type User struct {
|
||||
func (u *User) GetEmail() string {
|
||||
return u.Email
|
||||
}
|
||||
|
||||
func (u *User) GetRegistration() *registration.Resource {
|
||||
return u.Registration
|
||||
}
|
||||
|
||||
func (u *User) GetPrivateKey() crypto.PrivateKey {
|
||||
return u.key
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user