Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
douban-api-proxy
Commits
7a196fed
Commit
7a196fed
authored
Mar 27, 2021
by
Ozzie Isaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent empty email port and server address(#1906)
parent
c418c7e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
email_edit.html
cps/templates/email_edit.html
+2
-2
No files found.
cps/templates/email_edit.html
View file @
7a196fed
...
...
@@ -9,11 +9,11 @@
<form
role=
"form"
class=
"col-md-10 col-lg-6"
method=
"POST"
>
<div
class=
"form-group"
>
<label
for=
"mail_server"
>
{{_('SMTP Hostname')}}
</label>
<input
type=
"text"
class=
"form-control"
name=
"mail_server"
id=
"mail_server"
value=
"{{content.mail_server}}"
>
<input
type=
"text"
class=
"form-control"
name=
"mail_server"
id=
"mail_server"
value=
"{{content.mail_server}}"
required
>
</div>
<div
class=
"form-group"
>
<label
for=
"mail_port"
>
{{_('SMTP Port')}}
</label>
<input
type=
"number"
min=
"1"
max=
"65535"
step=
"1"
class=
"form-control"
name=
"mail_port"
id=
"mail_port"
value=
"{% if content.mail_port != None %}{{ content.mail_port }}{% endif %}"
autocomplete=
"off"
>
<input
type=
"number"
min=
"1"
max=
"65535"
step=
"1"
class=
"form-control"
name=
"mail_port"
id=
"mail_port"
value=
"{% if content.mail_port != None %}{{ content.mail_port }}{% endif %}"
autocomplete=
"off"
required
>
</div>
<div
class=
"form-group"
>
<label
for=
"mail_use_ssl"
>
{{_('Encryption')}}
</label>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment