diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-12-01 15:11:26 +0100 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-12-01 15:11:26 +0100 |
commit | 25a566da0aae470d7819820500e9343c7f462dfc (patch) | |
tree | 2f51f6ea3952bee7b75a507827b2e36f11ca1b9b /app/mailers/emails/profile.rb | |
parent | 30e28a7e0c458395b7a205e72a89e7d1b68571eb (diff) | |
download | gitlab-ce-25a566da0aae470d7819820500e9343c7f462dfc.tar.gz |
Remove unused password argument from notification
We were still passing a 'password' argument around, but it is not used
anywhere because we send a password reset link in the welcome email
nowadays.
Diffstat (limited to 'app/mailers/emails/profile.rb')
-rw-r--r-- | app/mailers/emails/profile.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/mailers/emails/profile.rb b/app/mailers/emails/profile.rb index f8a7d133d1d..6d7f8eb4b02 100644 --- a/app/mailers/emails/profile.rb +++ b/app/mailers/emails/profile.rb @@ -1,8 +1,7 @@ module Emails module Profile - def new_user_email(user_id, password, token = nil) + def new_user_email(user_id, token = nil) @user = User.find(user_id) - @password = password @target_url = user_url(@user) @token = token mail(to: @user.email, subject: subject("Account was created for you")) |