feat: Display Account context in the UI (#4069)
This commit is contained in:
parent
2c8a3ef3b2
commit
cc74bebc0f
13 changed files with 138 additions and 6 deletions
|
@ -44,5 +44,9 @@ export const clearCookiesOnLogout = () => {
|
|||
|
||||
Cookies.remove('auth_data');
|
||||
Cookies.remove('user');
|
||||
window.location = frontendURL('login');
|
||||
|
||||
const globalConfig = window.globalConfig || {};
|
||||
const logoutRedirectLink =
|
||||
globalConfig.LOGOUT_REDIRECT_LINK || frontendURL('login');
|
||||
window.location = logoutRedirectLink;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue