mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 20:27:23 +00:00
fix: user state (#693)
This commit is contained in:
parent
37174cecd4
commit
c553c70887
@ -296,7 +296,7 @@ func (u *UserView) setPasswordData(event *models.Event) error {
|
||||
}
|
||||
|
||||
func (u *UserView) ComputeObject() {
|
||||
if u.MachineView != nil {
|
||||
if !u.MachineView.IsZero() {
|
||||
if u.State == int32(model.UserStateUnspecified) {
|
||||
u.State = int32(model.UserStateActive)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user