summaryrefslogtreecommitdiff
path: root/users/app/models
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-01-22 15:09:54 -0800
committerjessib <jessib@leap.se>2013-01-22 15:09:54 -0800
commitefe76ee1d9badbad12b0cc42affb7b3d0572797c (patch)
treea23e6fa80fcd530eefa367cef75b76dacfd392c4 /users/app/models
parent40edf176142bd6092f13bd9f9fb72a2c69d4b052 (diff)
Rough way to allow user to paste in their key, but certainly we will want different display.
Diffstat (limited to 'users/app/models')
-rw-r--r--users/app/models/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/models/user.rb b/users/app/models/user.rb
index eff7abd..80d49a3 100644
--- a/users/app/models/user.rb
+++ b/users/app/models/user.rb
@@ -9,7 +9,7 @@ class User < CouchRest::Model::Base
property :email_forward, String, :accessible => true
property :email_aliases, [LocalEmail]
- property :public_key
+ property :public_key, :accessible => true
validates :login, :password_salt, :password_verifier,
:presence => true