summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-12 11:02:36 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-12 11:02:36 -0400
commitf1130ce5e9fa63df5e472a9c5fbd3e875f1ba9f5 (patch)
tree5693fb6698f7cbf24e5f90504b8156ed4d1ca3f0 /modules
parent1769bb2f26aa26ae7476cef8eb97272f44aa28b4 (diff)
downloadgitea-f1130ce5e9fa63df5e472a9c5fbd3e875f1ba9f5.tar.gz
gitea-f1130ce5e9fa63df5e472a9c5fbd3e875f1ba9f5.zip
Fix edit auth page bug
Diffstat (limited to 'modules')
-rw-r--r--modules/auth/authentication.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/auth/authentication.go b/modules/auth/authentication.go
index 4456d2a5f7..170b24a988 100644
--- a/modules/auth/authentication.go
+++ b/modules/auth/authentication.go
@@ -27,6 +27,8 @@ type AuthenticationForm struct {
MsAdSA string `form:"ms_ad_sa"`
IsActived bool `form:"is_actived"`
SmtpAuth string `form:"smtpauth"`
+ SmtpHost string `form:"smtphost"`
+ SmtpPort int `form:"smtpport"`
Tls bool `form:"tls"`
AllowAutoRegister bool `form:"allowautoregister"`
}