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