aboutsummaryrefslogtreecommitdiffstats
path: root/modules/auth/auth_form.go
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2015-04-23 13:58:57 +0200
committerIgnacio Casal Quinteiro <icq@gnome.org>2015-04-24 10:13:01 +0200
commit182003aa417ba67661c6743e0fabe6e1f67efd1c (patch)
treecff0efe4adedd4bc52b3c852e254a7c4fe0dad99 /modules/auth/auth_form.go
parent2c4fb6e6469f756dfaeb276302bac87e4dac3e1e (diff)
downloadgitea-182003aa417ba67661c6743e0fabe6e1f67efd1c.tar.gz
gitea-182003aa417ba67661c6743e0fabe6e1f67efd1c.zip
Add PAM authentication
Diffstat (limited to 'modules/auth/auth_form.go')
-rw-r--r--modules/auth/auth_form.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/auth/auth_form.go b/modules/auth/auth_form.go
index 7d45999914..1102dc3492 100644
--- a/modules/auth/auth_form.go
+++ b/modules/auth/auth_form.go
@@ -30,6 +30,7 @@ type AuthenticationForm struct {
SMTPPort int `form:"smtp_port"`
TLS bool `form:"tls"`
AllowAutoRegister bool `form:"allowautoregister"`
+ PAMServiceName string
}
func (f *AuthenticationForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {