Skip to content

Commit

Permalink
Set account.username for the cas lookup
Browse files Browse the repository at this point in the history
sgrove committed Jul 26, 2011
1 parent 09343dd commit 5e3a4ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/locomotive/hosting/bushido/hooks.rb
Original file line number Diff line number Diff line change
@@ -3,5 +3,6 @@

account = Account.first
account.email = event["data"].try(:[], "email")
account.username = account.email
account.save
end

0 comments on commit 5e3a4ff

Please sign in to comment.