Set account.username for the cas lookup
This commit is contained in:
parent
09343dd20a
commit
5e3a4ffa0f
@ -3,5 +3,6 @@ Bushido::Data.listen("app.claimed") do |event|
|
||||
|
||||
account = Account.first
|
||||
account.email = event["data"].try(:[], "email")
|
||||
account.username = account.email
|
||||
account.save
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user