diff options
author | Azul <azul@leap.se> | 2013-01-25 11:46:22 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-01-25 11:46:22 +0100 |
commit | dac578781baf73a006cc78e29588dd1f6fdc0fd3 (patch) | |
tree | a56ecff398a87efdd4840a8fc897d6471fbdaa69 /users/app/models/user.rb | |
parent | 75442ad26f3d30519f747bc98bc83cdc76aff750 (diff) | |
parent | 9d053b6c9b61c68bf11f95bcb37631a518f1fba4 (diff) |
Merge branch 'feature/webfinger' of https://github.com/leapcode/leap_web
Conflicts:
users/app/views/users/edit.html.haml
Diffstat (limited to 'users/app/models/user.rb')
-rw-r--r-- | users/app/models/user.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/users/app/models/user.rb b/users/app/models/user.rb index 292fb13..80d49a3 100644 --- a/users/app/models/user.rb +++ b/users/app/models/user.rb @@ -9,6 +9,8 @@ class User < CouchRest::Model::Base property :email_forward, String, :accessible => true property :email_aliases, [LocalEmail] + property :public_key, :accessible => true + validates :login, :password_salt, :password_verifier, :presence => true |