mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 19:07:30 +00:00
fix: correctly compute user state (#8740)
# Which Problems Are Solved A customer reported, that after a created user (in initial state) got (manually) locked and a new initial code would be created, the user could not be locked again. # How the Problems Are Solved Query for the initial code added event # Additional Changes None # Additional Context - reported by a customer
This commit is contained in:
@@ -97,6 +97,7 @@ func (wm *UserWriteModel) Query() *eventstore.SearchQueryBuilder {
|
||||
EventTypes(
|
||||
user.HumanAddedType,
|
||||
user.HumanRegisteredType,
|
||||
user.HumanInitialCodeAddedType,
|
||||
user.HumanInitializedCheckSucceededType,
|
||||
user.UserIDPLinkAddedType,
|
||||
user.UserIDPLinkRemovedType,
|
||||
|
Reference in New Issue
Block a user