mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 17:57:33 +00:00
feat: Login verification lifetimes (#3190)
* feat: add login check lifetimes to login policy * feat: org features test * feat: read lifetimes from loginpolicy
This commit is contained in:
@@ -23,7 +23,6 @@ type SystemDefaults struct {
|
||||
SMTPPasswordVerificationKey *crypto.KeyConfig
|
||||
SMSVerificationKey *crypto.KeyConfig
|
||||
Multifactors MultifactorConfig
|
||||
VerificationLifetimes VerificationLifetimes
|
||||
DomainVerification DomainVerification
|
||||
Notifications Notifications
|
||||
KeyConfig KeyConfig
|
||||
@@ -49,14 +48,6 @@ type OTPConfig struct {
|
||||
VerificationKey *crypto.KeyConfig
|
||||
}
|
||||
|
||||
type VerificationLifetimes struct {
|
||||
PasswordCheck time.Duration
|
||||
ExternalLoginCheck time.Duration
|
||||
MFAInitSkip time.Duration
|
||||
SecondFactorCheck time.Duration
|
||||
MultiFactorCheck time.Duration
|
||||
}
|
||||
|
||||
type DomainVerification struct {
|
||||
VerificationKey *crypto.KeyConfig
|
||||
VerificationGenerator crypto.GeneratorConfig
|
||||
|
Reference in New Issue
Block a user