diff options
author | Thais Siqueira <thais.siqueira@gmail.com> | 2017-03-10 11:28:39 -0300 |
---|---|---|
committer | Thais Siqueira <thais.siqueira@gmail.com> | 2017-03-10 11:28:39 -0300 |
commit | 417818997fca057635793cdf60a3e1bfa6716e35 (patch) | |
tree | 41406bc3f1a88fa606b871a810b00679c7a69859 /app/models/user.rb | |
parent | 67824594246aee807ebacdf61c4e2d0a136eab73 (diff) |
Adds recovery code to user account
Related with https://github.com/pixelated/pixelated-user-agent/issues/924
With @aarni
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 259778b..215a3b0 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -8,6 +8,8 @@ class User < CouchRest::Model::Base property :login, String, :accessible => true property :password_verifier, String, :accessible => true property :password_salt, String, :accessible => true + property :recovery_code_verifier, String, :accessible => true + property :recovery_code_salt, String, :accessible => true property :contact_email, String, :accessible => true property :contact_email_key, String, :accessible => true property :invite_code, String, :accessible => true |