Commit 07aa6e596318288edcd95bc327489f42021f275f

Authored by Dmitriy Zaporozhets
1 parent e5e3e0d9

Warn users to change password after account was created

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) %>