Warn users to change password after account was created

This commit is contained in:
Dmitriy Zaporozhets 2013-05-28 17:37:23 +03:00
parent e5e3e0d9e6
commit 07aa6e5963
2 changed files with 6 additions and 0 deletions

View file

@ -12,5 +12,9 @@
- unless Gitlab.config.gitlab.signup_enabled
password..................................
%code= @password
%p
Please change your password immediatly after login.
%p
= link_to "Click here to login", root_url

View file

@ -7,4 +7,6 @@ login.................. <%= @user.email %>
password............... <%= @password %>
<% end %>
Please change your password immediatly after login.
Click here to login: <%= url_for(root_url) %>