1
0
mirror of https://github.com/0rangebananaspy/authelia.git synced 2024-09-14 22:47:21 +07:00

[MISC] Implement final golint recommendations ()

This commit is contained in:
Amir Zarrinkafsh 2020-04-21 10:48:24 +10:00 committed by GitHub
parent b12d9d405f
commit 333137d56d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
internal/handlers

View File

@ -11,7 +11,7 @@ type MethodList = []string
type authorizationMatching int
// UserInfo is the model of user second factor preferences.
// UserPreferences is the model of user second factor preferences.
type UserPreferences struct {
// The preferred 2FA method.
Method string `json:"method" valid:"required"`