summaryrefslogtreecommitdiff
path: root/users/app/models
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-01-22 12:02:18 +0100
committerAzul <azul@leap.se>2013-01-22 13:06:37 +0100
commitde48efcf2a6b5fb096fd209b1efea482f743c19c (patch)
treec555b53719f67fd48bd6b742ff2f5e2ede7b7c53 /users/app/models
parented1caa740f0e58cfd5f2d908946461154db68174 (diff)
some basic webfinger routes, controller, presenters, views
Diffstat (limited to 'users/app/models')
-rw-r--r--users/app/models/user.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/app/models/user.rb b/users/app/models/user.rb
index 292fb13..eff7abd 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
+
validates :login, :password_salt, :password_verifier,
:presence => true