diff options
author | Paolo Borelli <pborelli@gnome.org> | 2015-04-23 13:58:57 +0200 |
---|---|---|
committer | Ignacio Casal Quinteiro <icq@gnome.org> | 2015-04-24 10:13:01 +0200 |
commit | 182003aa417ba67661c6743e0fabe6e1f67efd1c (patch) | |
tree | cff0efe4adedd4bc52b3c852e254a7c4fe0dad99 /templates/admin/auth/new.tmpl | |
parent | 2c4fb6e6469f756dfaeb276302bac87e4dac3e1e (diff) | |
download | gitea-182003aa417ba67661c6743e0fabe6e1f67efd1c.tar.gz gitea-182003aa417ba67661c6743e0fabe6e1f67efd1c.zip |
Add PAM authentication
Diffstat (limited to 'templates/admin/auth/new.tmpl')
-rw-r--r-- | templates/admin/auth/new.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl index 0d1f2ab417..36b90cfb48 100644 --- a/templates/admin/auth/new.tmpl +++ b/templates/admin/auth/new.tmpl @@ -86,6 +86,12 @@ <input class="ipt ipt-large ipt-radius {{if .Err_SmtpPort}}ipt-error{{end}}" id="smtp_port" name="smtp_port" value="{{.smtp_port}}" /> </div> </div> + <div class="pam hidden"> + <div class="field"> + <label class="req" for="pam_service_name">{{.i18n.Tr "admin.auths.pam_service_name"}}</label> + <input class="ipt ipt-large ipt-radius {{if .Err_PAMServiceName}}ipt-error{{end}}" id="pam_service_name" name="pam_service_name" value="{{.pam_service_name}}" /> + </div> + </div> <div class="field"> <div class="smtp hidden"> <label></label> |