Просмотр исходного кода

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.
Solar Olugebefola 9 лет назад
Родитель
Сommit
de7edb40f5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      public/app/core/components/sidemenu/sidemenu.ts

+ 1 - 1
public/app/core/components/sidemenu/sidemenu.ts

@@ -50,7 +50,7 @@ export class SideMenuCtrl {
      {text: 'Profile', url: this.getUrl('/profile')},
    ];
 
-   if (this.isSignedIn) {
+   if (this.showSignout) {
      this.orgMenu.push({text: "Sign out", url: this.getUrl("/logout"), target: "_self"});
    }