mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Auth: Don't rotate session cookie from frontend for JWT Auth (#72744)
Skip client token rotation for JWT auth
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user