How to change created new user's certification mail's format

Hi,

My Gitlab is GitLab Community Edition 8.12.3

And I will change my gitlab URL port, like http://gitlab.abc.com:8889

When I created new user, gitlab will sed a Certification mail to new use.

The mail like this : (created new user : mis)


GitLab gitlab@gitlab.abc.com

send to mis

Hi mis!

Your account has been created successfully.

login… mis@abc.com

Click here to set your password

This link is valid for 2 days. After it expires, you can request a new one.


View it on GitLab.
You’re receiving this email because of your account on gitlab.abc.com. If you’d like to receive fewer emails, you can adjust your notification settings.


But the mail all URL is link to https://gitlab.abc.com , not link to https://gitlab.abc.com:8889

Please help me , how to setting can change this.

Thanks.


I find the format : /opt/gitlab/embedded/service/gitlab-rails/app/views/notify/new_user_email.html.haml or
/opt/gitlab/embedded/service/gitlab-rails/app/views/notify/new_user_email.text.erb

that is like :

and

But I don’t know how to setting can let me done.

Please help and thanks.