File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
plugins/security/public/nav_control Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ export const security = kibana =>
112112 tenant : server . newPlatform . setup . core . http . basePath . serverBasePath ,
113113 } ,
114114 enableSpaceAwarePrivileges : server . config ( ) . get ( 'xpack.spaces.enabled' ) ,
115+ logoutUrl : `${ server . newPlatform . setup . core . http . basePath . serverBasePath } /logout` ,
115116 } ;
116117 } ,
117118 } ,
Original file line number Diff line number Diff line change @@ -65,9 +65,7 @@ export class SecurityNavControlService {
6565 mount : ( el : HTMLElement ) => {
6666 const I18nContext = core . i18n . Context ;
6767
68- const serverBasePath = core . injectedMetadata . getInjectedVar ( 'serverBasePath' ) as string ;
69-
70- const logoutUrl = `${ serverBasePath } /logout` ;
68+ const logoutUrl = core . injectedMetadata . getInjectedVar ( 'logoutUrl' ) as string ;
7169
7270 const props = {
7371 user : currentUserPromise ,
You can’t perform that action at this time.
0 commit comments