diff options
author | puffybsd <puffybsd@yahoo.com> | 2017-02-23 20:37:13 -0500 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-02-24 09:37:13 +0800 |
commit | 8de8e11487ebd729d026c8a71adfa9ea6b926a69 (patch) | |
tree | c64dd54ac9a2d0c81551865b8d0c7af2448aaa26 /templates | |
parent | 832477b1bceb003ce12529c7797a53e80c936d58 (diff) | |
download | gitea-8de8e11487ebd729d026c8a71adfa9ea6b926a69.tar.gz gitea-8de8e11487ebd729d026c8a71adfa9ea6b926a69.zip |
Fixes 1019, install page SMTP user is required to (#1020)
to be an email address.
Signed-off-by: P.B. <puffybsd@yahoo.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/install.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl index 5fc056c55a..d084005c8c 100644 --- a/templates/install.tmpl +++ b/templates/install.tmpl @@ -140,9 +140,9 @@ <input id="smtp_from" name="smtp_from" value="{{.smtp_from}}"> <span class="help">{{.i18n.Tr "install.smtp_from_helper"}}</span> </div> - <div class="inline field {{if .Err_SMTPEmail}}error{{end}}"> - <label for="smtp_email">{{.i18n.Tr "install.mailer_user"}}</label> - <input id="smtp_email" name="smtp_email" value="{{.smtp_email}}"> + <div class="inline field {{if .Err_SMTPUser}}error{{end}}"> + <label for="smtp_user">{{.i18n.Tr "install.mailer_user"}}</label> + <input id="smtp_user" name="smtp_user" value="{{.smtp_user}}"> </div> <div class="inline field"> <label for="smtp_passwd">{{.i18n.Tr "install.mailer_password"}}</label> |