mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-09 11:12:01 +00:00
fix: handle logout correctly on tokens (#1809)
This commit is contained in:
@@ -85,7 +85,7 @@ func (t *TokenView) AppendEventIfMyToken(event *es_models.Event) (err error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if view.UserAgentID == id {
|
if t.UserAgentID == id {
|
||||||
t.Deactivated = true
|
t.Deactivated = true
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
Reference in New Issue
Block a user