From 196801878f9609e030c9a7618fa5d5ba591f73a0 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Fri, 19 Jan 2018 21:30:59 +0800 Subject: [PATCH] small fix for password update method --- app/models/pseudo_user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/pseudo_user.rb b/app/models/pseudo_user.rb index 9fa607f..8131022 100644 --- a/app/models/pseudo_user.rb +++ b/app/models/pseudo_user.rb @@ -59,7 +59,7 @@ class PseudoUser end def update_password(password, password_confirmation) - self.update_attributes(password: password, password_confirmation: password_confirmation, reset_token: nil, registered: true) + self.update_attributes(password: password, password_confirmation: password_confirmation, reset_token: nil) self.save end