Auth: Don't rotate session cookie from frontend for JWT Auth (#72744)

Skip client token rotation for JWT auth
This commit is contained in:
Misi
2023-08-03 09:18:44 +02:00
committed by GitHub
parent bba11d04cb
commit ba723c911a

View File

@@ -269,6 +269,11 @@ export class ContextSrv {
return false;
}
// skip if the user has been authenticated by JWT auth
if (this.user.authenticatedBy === 'jwt') {
return false;
}
return true;
}