gitlab-org--gitlab-foss/app/views/notify/new_user_email.html.haml

18 lines
643 B
Text
Raw Normal View History

2013-03-12 04:46:04 -04:00
%p
Hi #{sanitize_name(@user['name'])}!
2013-03-12 04:46:04 -04:00
%p
- if Gitlab::CurrentSettings.allow_signup?
Your account has been created successfully.
2013-03-12 04:46:04 -04:00
- else
The Administrator created an account for you. Now you are a member of the company GitLab application.
2013-03-12 04:46:04 -04:00
%p
login..........................................
%code= @user['email']
- if @user.created_by_id
%p
2015-05-13 23:57:16 -04:00
= link_to "Click here to set your password", edit_password_url(@user, reset_password_token: @token)
%p
This link is valid for #{password_reset_token_valid_time}.
After it expires, you can #{link_to("request a new one", new_user_password_url(user_email: @user.email))}.