summaryrefslogtreecommitdiff
path: root/app/models/identity.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-05-15 16:29:49 +0200
committerAzul <azul@leap.se>2014-05-19 14:24:47 +0200
commit17b67aeda81dee2273ce1161ac7292a328c3efaa (patch)
tree8c7da1f418c61c8159cb761c6c2a081d521031fd /app/models/identity.rb
parent71dcf3f4e5d423b78b47f675297fc98b28ef3442 (diff)
store cert fingerprint with main user identity
Diffstat (limited to 'app/models/identity.rb')
-rw-r--r--app/models/identity.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/identity.rb b/app/models/identity.rb
index ad8c01e..2f8d4eb 100644
--- a/app/models/identity.rb
+++ b/app/models/identity.rb
@@ -8,6 +8,7 @@ class Identity < CouchRest::Model::Base
property :address, LocalEmail
property :destination, Email
property :keys, HashWithIndifferentAccess
+ property :cert_fingerprints, [String]
validate :unique_forward
validate :alias_available