Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
25924a90
Commit
25924a90
authored
12 years ago
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Email link https support
parent
8ee0993f
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
app/mailers/notify.rb
app/mailers/notify.rb
+2
-0
config/gitlab.yml.example
config/gitlab.yml.example
+4
-0
No files found.
app/mailers/notify.rb
View file @
25924a90
class
Notify
<
ActionMailer
::
Base
default_url_options
[
:host
]
=
EMAIL_OPTS
[
"host"
]
default_url_options
[
:protocol
]
=
->
{
EMAIL_OPTS
[
"protocol"
]
?
EMAIL_OPTS
[
"protocol"
]
:
"http"
}.
call
default
from:
EMAIL_OPTS
[
"from"
]
def
new_user_email
(
user
,
password
)
...
...
This diff is collapsed.
Click to expand it.
config/gitlab.yml.example
View file @
25924a90
...
...
@@ -6,6 +6,10 @@ email:
from: notify@gitlabhq.com
host: gitlabhq.com
# Protocol used for links in email letters
# Value can be http or https
protocol: http # or https
# Git Hosting congiguration
git_host:
system: gitolite
...
...
This diff is collapsed.
Click to expand it.
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