[MISC] Implement final golint recommendations (#888)
parent
b12d9d405f
commit
333137d56d
|
@ -11,7 +11,7 @@ type MethodList = []string
|
||||||
|
|
||||||
type authorizationMatching int
|
type authorizationMatching int
|
||||||
|
|
||||||
// UserInfo is the model of user second factor preferences.
|
// UserPreferences is the model of user second factor preferences.
|
||||||
type UserPreferences struct {
|
type UserPreferences struct {
|
||||||
// The preferred 2FA method.
|
// The preferred 2FA method.
|
||||||
Method string `json:"method" valid:"required"`
|
Method string `json:"method" valid:"required"`
|
||||||
|
|
Loading…
Reference in New Issue