mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
parent
8945796ebf
commit
c1cfd6e280
2 changed files with 2 additions and 3 deletions
|
@ -112,6 +112,7 @@ export const security = kibana =>
|
|||
tenant: server.newPlatform.setup.core.http.basePath.serverBasePath,
|
||||
},
|
||||
enableSpaceAwarePrivileges: server.config().get('xpack.spaces.enabled'),
|
||||
logoutUrl: `${server.newPlatform.setup.core.http.basePath.serverBasePath}/logout`,
|
||||
};
|
||||
},
|
||||
},
|
||||
|
|
|
@ -65,9 +65,7 @@ export class SecurityNavControlService {
|
|||
mount: (el: HTMLElement) => {
|
||||
const I18nContext = core.i18n.Context;
|
||||
|
||||
const serverBasePath = core.injectedMetadata.getInjectedVar('serverBasePath') as string;
|
||||
|
||||
const logoutUrl = `${serverBasePath}/logout`;
|
||||
const logoutUrl = core.injectedMetadata.getInjectedVar('logoutUrl') as string;
|
||||
|
||||
const props = {
|
||||
user: currentUserPromise,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue