diff options
author | jessib <jessib@riseup.net> | 2013-08-20 12:37:58 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-08-20 12:37:58 -0700 |
commit | 115d96398246dcda23a51728dfafe1ea3c8ede88 (patch) | |
tree | 8d2d77c2807d602c35f6ff3c81d42016b86869a6 /users/app/models/account_settings.rb | |
parent | be944809f6708be55a1111085b1483af3c646b14 (diff) |
Tweak to parameters to fix wrong-number-of-arguments error blocking other work.
Diffstat (limited to 'users/app/models/account_settings.rb')
-rw-r--r-- | users/app/models/account_settings.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/models/account_settings.rb b/users/app/models/account_settings.rb index a73a95a..27fa227 100644 --- a/users/app/models/account_settings.rb +++ b/users/app/models/account_settings.rb @@ -16,7 +16,7 @@ class AccountSettings protected - def update_login(login, verifier) + def update_login(login) return unless login.present? @old_identity = Identity.for(@user) @user.login = login |