diff options
author | Azul <azul@leap.se> | 2014-05-28 12:20:49 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-05-28 12:20:49 +0200 |
commit | 6fea83763f07add7d3bd07e3843b75aaf61e19b4 (patch) | |
tree | cf47afa9d9a0d64aa8b8f6e259441086aab7b024 /app/models/account.rb | |
parent | 682b4060cb86c52ffda638f4f9a837f107540610 (diff) |
bring back the alias functionality in Identities
Diffstat (limited to 'app/models/account.rb')
-rw-r--r-- | app/models/account.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/account.rb b/app/models/account.rb index cf998e4..bffa288 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -18,6 +18,7 @@ class Account def self.create(attrs) @user = User.create(attrs).tap do |user| Identity.create_for user + user.refresh_identity end end |