mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
hide password auth with PASSWORD_LOGIN_ENABLED variable
This commit is contained in:
parent
35ae07e2a6
commit
3e817257ef
2 changed files with 10 additions and 0 deletions
|
|
@ -334,6 +334,11 @@ if (Meteor.isServer) {
|
|||
getDefaultAuthenticationMethod() {
|
||||
return process.env.DEFAULT_AUTHENTICATION_METHOD;
|
||||
},
|
||||
|
||||
isPasswordDisabled() {
|
||||
return process.env.PASSWORD_LOGIN_ENABLED === 'false';
|
||||
},
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue