mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 00:57:33 +00:00
fix: v2 human command (#3435)
* add/register human command done * validations * crypto * move clientid * keys * fix: clientID * remove v2 package * tests * tests running * revert old code * instance domain from ctx * chore: rename zitadel app ids * comments * fix: test
This commit is contained in:
@@ -7,6 +7,7 @@ const (
|
||||
SecretGeneratorTypeInitCode
|
||||
SecretGeneratorTypeVerifyEmailCode
|
||||
SecretGeneratorTypeVerifyPhoneCode
|
||||
SecretGeneratorTypeVerifyDomain
|
||||
SecretGeneratorTypePasswordResetCode
|
||||
SecretGeneratorTypePasswordlessInitCode
|
||||
SecretGeneratorTypeAppSecret
|
||||
@@ -14,6 +15,10 @@ const (
|
||||
secretGeneratorTypeCount
|
||||
)
|
||||
|
||||
func (t SecretGeneratorType) Valid() bool {
|
||||
return t > SecretGeneratorTypeUnspecified && t < secretGeneratorTypeCount
|
||||
}
|
||||
|
||||
type SecretGeneratorState int32
|
||||
|
||||
const (
|
||||
|
Reference in New Issue
Block a user