mirror of
https://github.com/wekan/wekan.git
synced 2025-12-22 10:20:14 +01:00
Edit profil and change password menus are not displayed when SSO authentication is used
This commit is contained in:
parent
6d9d69e01d
commit
c7cc9273a6
5 changed files with 21 additions and 8 deletions
|
|
@ -22,6 +22,14 @@ Template.memberMenuPopup.helpers({
|
|||
return false;
|
||||
}
|
||||
},
|
||||
isNotOAuth2AuthenticationMethod(){
|
||||
currentUser = Meteor.user();
|
||||
if (currentUser) {
|
||||
return currentUser.authenticationMethod != 'OAuth2';
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Template.memberMenuPopup.events({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue