diff options
author | Azul <azul@leap.se> | 2013-07-19 09:50:02 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-07-24 10:55:51 +0200 |
commit | dcaf6232dbd1131cdbd12ac5c2ef997979fd01ff (patch) | |
tree | 7b39b0bb5ab27989ee5d90ca29bd73ef3f47e203 /users/app/models/user.rb | |
parent | 495c97fbf400ed44a1e64692f2c04d2155a326e7 (diff) |
add keys to identity
Diffstat (limited to 'users/app/models/user.rb')
-rw-r--r-- | users/app/models/user.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/users/app/models/user.rb b/users/app/models/user.rb index 62fb7ec..fb7f0aa 100644 --- a/users/app/models/user.rb +++ b/users/app/models/user.rb @@ -62,7 +62,8 @@ class User < CouchRest::Model::Base def build_identity(attribs = {}, &block) attribs.reverse_merge! user_id: self.id, address: self.email_address, - destination: self.email_address + destination: self.email_address, + keys: {} Identity.new(attribs, &block) end |