forked from kevadesu/forgejo
Fixes 1019, install page SMTP user is required to (#1020)
to be an email address. Signed-off-by: P.B. <puffybsd@yahoo.com>
This commit is contained in:
parent
832477b1bc
commit
8de8e11487
4 changed files with 8 additions and 8 deletions
6
templates/install.tmpl
vendored
6
templates/install.tmpl
vendored
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue