fix(auth): revoke the parsed token on logout (#2356)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-02 17:25:33 +02:00
1 parent ef248a8515
commit b82681b77a
1 file changed
+1 -1
@@ -182,7 +182,7 @@ export class AuthRequestService {
}
async logout({authorizationHeader, authToken}: AuthLogoutRequest): Promise<void> {
const token = authorizationHeader ?? authToken;
const token = authToken ?? authorizationHeader;
if (token) {
await AuthSession.revokeToken(this.apiContext, token);
}