mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:17:32 +00:00
fix: login for initial users (#4506)
This commit is contained in:
@@ -27,6 +27,10 @@ func (s UserState) Exists() bool {
|
||||
return s != UserStateUnspecified && s != UserStateDeleted
|
||||
}
|
||||
|
||||
func (s UserState) NotDisabled() bool {
|
||||
return s == UserStateActive || s == UserStateInitial
|
||||
}
|
||||
|
||||
type UserType int32
|
||||
|
||||
const (
|
||||
|
Reference in New Issue
Block a user