Merge branch '583-password-person-conflict' of https://github.com/flah00/diaspora into flah00-583-password-person-conflict
This commit is contained in:
commit
8fb97072df
1 changed files with 1 additions and 1 deletions
|
|
@ -384,8 +384,8 @@ class User
|
|||
self.invitation_token = nil
|
||||
self.password = opts[:password]
|
||||
self.password_confirmation = opts[:password_confirmation]
|
||||
self.person.save!
|
||||
self.save!
|
||||
self.person.save!
|
||||
invitations_to_me.each{|invitation| invitation.to_request!}
|
||||
|
||||
self.reload # Because to_request adds a request and saves elsewhere
|
||||
|
|
|
|||
Loading…
Reference in a new issue