mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 10:17:37 +02:00
Fix edit auth page bug
This commit is contained in:
1 parent
1769bb2f26
commit
f1130ce5e9
7 files changed
+41
-31
No files matched your search
@@ -55,8 +55,8 @@ func NewAuthSourcePost(ctx *middleware.Context, form auth.AuthenticationForm) {
|
||||
case models.LT_SMTP:
|
||||
u = &models.SMTPConfig{
|
||||
Auth: form.SmtpAuth,
|
||||
Host: form.Host,
|
||||
Port: form.Port,
|
||||
Host: form.SmtpHost,
|
||||
Port: form.SmtpPort,
|
||||
TLS: form.Tls,
|
||||
}
|
||||
default:
|
||||
@@ -132,8 +132,8 @@ func EditAuthSourcePost(ctx *middleware.Context, form auth.AuthenticationForm) {
|
||||
case models.LT_SMTP:
|
||||
config = &models.SMTPConfig{
|
||||
Auth: form.SmtpAuth,
|
||||
Host: form.Host,
|
||||
Port: form.Port,
|
||||
Host: form.SmtpHost,
|
||||
Port: form.SmtpPort,
|
||||
TLS: form.Tls,
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user