[MM-14081] Disable checkMFA Endpoint by default and add tests for MFA login (#10356)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6a3fdbd489
Коммит
dcf611b735
@@ -283,6 +283,7 @@ type ServiceSettings struct {
|
||||
DEPRECATED_DO_NOT_USE_ImageProxyOptions *string `json:"ImageProxyOptions" mapstructure:"ImageProxyOptions"` // This field is deprecated and must not be used.
|
||||
EnableAPITeamDeletion *bool
|
||||
ExperimentalEnableHardenedMode *bool
|
||||
DisableLegacyMFA *bool
|
||||
ExperimentalStrictCSRFEnforcement *bool
|
||||
EnableEmailInvitations *bool
|
||||
ExperimentalLdapGroupSync *bool
|
||||
@@ -609,6 +610,10 @@ func (s *ServiceSettings) SetDefaults() {
|
||||
s.ExperimentalEnableHardenedMode = NewBool(false)
|
||||
}
|
||||
|
||||
if s.DisableLegacyMFA == nil {
|
||||
s.DisableLegacyMFA = NewBool(false)
|
||||
}
|
||||
|
||||
if s.ExperimentalLdapGroupSync == nil {
|
||||
s.ExperimentalLdapGroupSync = NewBool(false)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user