Password shouldn't be mandatory if SSO is turned on #264 (#270)

Password shouldn't be mandatory if SSO is turned on #264
pull/274/head
ShahanaFarooqui 4 years ago committed by GitHub
parent 8a767f8050
commit 6a7926b750
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -98,7 +98,7 @@ connect.replacePasswordWithHash = (multiPassHashed) => {
}
connect.validateNodeConfig = (config) => {
if(!+config.SSO.rtlSSO) {
if((process.env.RTL_SSO === 0) || (typeof process.env.RTL_SSO === 'undefined' && +config.SSO.rtlSSO === 0)) {
if (config.multiPassHashed !== '' && config.multiPassHashed) {
common.rtl_pass = config.multiPassHashed;
} else if (config.multiPass !== '' && config.multiPass) {

Loading…
Cancel
Save