diff options
Diffstat (limited to 'users/app')
-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 |