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 12 - unless Gitlab.config.gitlab.signup_enabled
13 13 password..................................
14 14 %code= @password
  15 +
  16 +%p
  17 + Please change your password immediatly after login.
  18 +
15 19 %p
16 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 7 password............... <%= @password %>
8 8 <% end %>
9 9  
  10 +Please change your password immediatly after login.
  11 +
10 12 Click here to login: <%= url_for(root_url) %>
... ...