diff --git a/app/views/invitations_mailer/invite_user.text.erb b/app/views/invitations_mailer/invite_user.text.erb index 572a1fc..4a4d972 100644 --- a/app/views/invitations_mailer/invite_user.text.erb +++ b/app/views/invitations_mailer/invite_user.text.erb @@ -1,8 +1,8 @@ You've been invited to join Clinch! To set up your account and create your password, please visit: -#{invite_url(@user.invitation_login_token)} +<%= invitation_url(@user.generate_token_for(:invitation_login)) %> -This invitation link will expire in #{distance_of_time_in_words(0, @user.invitation_login_token_expires_in)}. +This invitation link will expire in 24 hours. If you didn't expect this invitation, you can safely ignore this email. \ No newline at end of file