Commit 07aa6e59 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Warn users to change password after account was created

parent e5e3e0d9
...@@ -12,5 +12,9 @@ ...@@ -12,5 +12,9 @@
- unless Gitlab.config.gitlab.signup_enabled - unless Gitlab.config.gitlab.signup_enabled
password.................................. password..................................
%code= @password %code= @password
%p
Please change your password immediatly after login.
%p %p
= link_to "Click here to login", root_url = link_to "Click here to login", root_url
...@@ -7,4 +7,6 @@ login.................. <%= @user.email %> ...@@ -7,4 +7,6 @@ login.................. <%= @user.email %>
password............... <%= @password %> password............... <%= @password %>
<% end %> <% end %>
Please change your password immediatly after login.
Click here to login: <%= url_for(root_url) %> Click here to login: <%= url_for(root_url) %>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment