Commit 25924a90 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Email link https support

parent 8ee0993f
No related merge requests found
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)
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment