mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Disable sign out for AuthProxyEnabled
Sign out was disabled for AuthProxyEnabled in #3122. This is to catch the one other instance of a sign out link in the side menu.
This commit is contained in:
parent
2f4da15264
commit
de7edb40f5
@ -50,7 +50,7 @@ export class SideMenuCtrl {
|
|||||||
{text: 'Profile', url: this.getUrl('/profile')},
|
{text: 'Profile', url: this.getUrl('/profile')},
|
||||||
];
|
];
|
||||||
|
|
||||||
if (this.isSignedIn) {
|
if (this.showSignout) {
|
||||||
this.orgMenu.push({text: "Sign out", url: this.getUrl("/logout"), target: "_self"});
|
this.orgMenu.push({text: "Sign out", url: this.getUrl("/logout"), target: "_self"});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user