mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
console: fix issue to clear admin secret key on logout
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8503 GitOrigin-RevId: 7f94a2da01001b1b295151aa41c2e456c120f972
This commit is contained in:
parent
004dedca83
commit
40921f20bc
@ -13,6 +13,7 @@ import {
|
||||
} from '../AppState';
|
||||
import {
|
||||
ADMIN_SECRET_ERROR,
|
||||
clearAdminSecretState,
|
||||
UPDATE_DATA_HEADERS,
|
||||
} from '@hasura/console-legacy-ce';
|
||||
import { getFeaturesCompatibility } from '../../helpers/versionUtils';
|
||||
@ -425,6 +426,7 @@ const clearCollaboratorSignInState = () => {
|
||||
removeHeaderFromLS(globals.collabLabel);
|
||||
removeHeaderFromLS(globals.patLabel);
|
||||
clearPATState();
|
||||
clearAdminSecretState();
|
||||
initLS();
|
||||
dispatch(push(`${globals.urlPrefix}/login`));
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user