This commit is contained in:
@@ -6,15 +6,14 @@ package forms
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"code.gitea.io/gitea/modules/web/middleware"
|
||||
"code.gitea.io/gitea/services/context"
|
||||
"gitea.dev/modules/web/middleware"
|
||||
"gitea.dev/services/context"
|
||||
|
||||
"gitea.com/go-chi/binding"
|
||||
)
|
||||
|
||||
// AuthenticationForm form for authentication
|
||||
type AuthenticationForm struct {
|
||||
ID int64
|
||||
Type int `binding:"Range(2,7)"`
|
||||
Name string `binding:"Required;MaxSize(30)"`
|
||||
TwoFactorPolicy string
|
||||
@@ -88,6 +87,7 @@ type AuthenticationForm struct {
|
||||
Oauth2GroupTeamMapRemoval bool
|
||||
Oauth2SSHPublicKeyClaimName string
|
||||
Oauth2FullNameClaimName string
|
||||
OpenIDConnectExternalIDClaim string
|
||||
|
||||
// SSPI
|
||||
SSPIAutoCreateUsers bool
|
||||
|
||||
Reference in New Issue
Block a user