small fix for password update method
This commit is contained in:
parent
02344fd275
commit
196801878f
|
@ -59,7 +59,7 @@ class PseudoUser
|
||||||
end
|
end
|
||||||
|
|
||||||
def update_password(password, password_confirmation)
|
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
|
self.save
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue