diff options
Diffstat (limited to 'modules/auth/auth_form.go')
-rw-r--r-- | modules/auth/auth_form.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/auth/auth_form.go b/modules/auth/auth_form.go index 358472a385..c838590c1f 100644 --- a/modules/auth/auth_form.go +++ b/modules/auth/auth_form.go @@ -12,7 +12,7 @@ import ( // AuthenticationForm form for authentication type AuthenticationForm struct { ID int64 - Type int `binding:"Range(2,6)"` + Type int `binding:"Range(2,7)"` Name string `binding:"Required;MaxSize(30)"` Host string Port int @@ -49,6 +49,11 @@ type AuthenticationForm struct { Oauth2AuthURL string Oauth2ProfileURL string Oauth2EmailURL string + SSPIAutoCreateUsers bool + SSPIAutoActivateUsers bool + SSPIStripDomainNames bool + SSPISeparatorReplacement string `binding:"AlphaDashDot;MaxSize(5)"` + SSPIDefaultLanguage string } // Validate validates fields |