Implemented PAM authentication

This commit is contained in:
Tazio Ceri
2020-06-28 23:49:16 +02:00
parent 22eae833f8
commit f8fb64b5e4
12 changed files with 262 additions and 11 deletions
+11
View File
@@ -38,6 +38,17 @@
${password-info class="help-block"}
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3" for="${id:external_auth}">
${tr:Lms.external_auth}
</label>
<div class="checkbox col-lg-9">
<span class="hack">
${external-auth}
${external-auth-info class="help-block"}
</span>
</div>
</div>
${<if-demo>}
<div class="form-group">
<div class="col-lg-offset-3 col-lg-3" for="${id:demo}">
+3
View File
@@ -17,6 +17,9 @@
<message id="Lms.password-client-throttled">Login throttled, please try again later</message>
<message id="Lms.password-confirm">Confirm password</message>
<message id="Lms.password-new">New password</message>
<message id="Lms.external_auth">Is auth managed externally?</message>
<message id="Lms.password_must_be_empty_for_ext">Password must be empty for users with external authentication</message>
<message id="Lms.password-must-not-be-empty">Password must not be empty for users without external authentication</message>
<message id="Lms.password-old">Old password</message>
<message id="Lms.password-too-weak">Password too weak</message>
<message id="Lms.passwords-dont-match">Passwords don't match</message>