Skip to content

Commit

Permalink
Apply Fix login condition
Browse files Browse the repository at this point in the history
  • Loading branch information
armanddidierjean committed Sep 29, 2024
1 parent efea3a3 commit a4fea91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldap-overleaf-sl/sharelatex/login.pug
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ block content
+customValidationMessage('password-compromised')
| !{translate('password_compromised_try_again_or_use_known_device_or_reset', {}, [{name: 'a', attrs: {href: 'https://haveibeenpwned.com/passwords', rel: 'noopener noreferrer', target: '_blank'}}, {name: 'a', attrs: {href: '/user/password/reset', target: '_blank'}}])}.
//- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
if process.env.ALLOW_EMAIL_LOGIN !== 'false' && (process.env.LDAP_SERVER !== undefined || process.env.LDAP_SERVER !== "")
if process.env.ALLOW_EMAIL_LOGIN !== 'false' && process.env.LDAP_SERVER !== undefined
.form-group
input.form-control(
name='email',
Expand Down

0 comments on commit a4fea91

Please sign in to comment.