Commit 07aa6e596318288edcd95bc327489f42021f275f
1 parent
e5e3e0d9
Exists in
master
and in
4 other branches
Warn users to change password after account was created
Showing
2 changed files
with
6 additions
and
0 deletions
Show diff stats
app/views/notify/new_user_email.html.haml
@@ -12,5 +12,9 @@ | @@ -12,5 +12,9 @@ | ||
12 | - unless Gitlab.config.gitlab.signup_enabled | 12 | - unless Gitlab.config.gitlab.signup_enabled |
13 | password.................................. | 13 | password.................................. |
14 | %code= @password | 14 | %code= @password |
15 | + | ||
16 | +%p | ||
17 | + Please change your password immediatly after login. | ||
18 | + | ||
15 | %p | 19 | %p |
16 | = link_to "Click here to login", root_url | 20 | = link_to "Click here to login", root_url |
app/views/notify/new_user_email.text.erb
@@ -7,4 +7,6 @@ login.................. <%= @user.email %> | @@ -7,4 +7,6 @@ login.................. <%= @user.email %> | ||
7 | password............... <%= @password %> | 7 | password............... <%= @password %> |
8 | <% end %> | 8 | <% end %> |
9 | 9 | ||
10 | +Please change your password immediatly after login. | ||
11 | + | ||
10 | Click here to login: <%= url_for(root_url) %> | 12 | Click here to login: <%= url_for(root_url) %> |