mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-04 23:45:07 +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:
parent
a84b259e8c
commit
91b2d67325
@ -97,6 +97,7 @@ func (wm *UserWriteModel) Query() *eventstore.SearchQueryBuilder {
|
||||
EventTypes(
|
||||
user.HumanAddedType,
|
||||
user.HumanRegisteredType,
|
||||
user.HumanInitialCodeAddedType,
|
||||
user.HumanInitializedCheckSucceededType,
|
||||
user.UserIDPLinkAddedType,
|
||||
user.UserIDPLinkRemovedType,
|
||||
|
Loading…
Reference in New Issue
Block a user