setting the username
This commit is contained in:
parent
ef3e627bed
commit
8e61b438ab
1 changed files with 1 additions and 0 deletions
|
|
@ -268,6 +268,7 @@ class User
|
|||
|
||||
def accept_invitation!( opts = {} )
|
||||
if self.invited?
|
||||
self.username = opts[:username]
|
||||
self.password = opts[:password]
|
||||
self.password_confirmation = opts[:password_confirmation]
|
||||
opts[:person][:diaspora_handle] = "#{opts[:username]}@#{APP_CONFIG[:terse_pod_url]}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue