diff options
Diffstat (limited to 'app/models/session_key.go')
-rw-r--r-- | app/models/session_key.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/session_key.go b/app/models/session_key.go index c8b327e..b75d6c4 100644 --- a/app/models/session_key.go +++ b/app/models/session_key.go | |||
@@ -52,7 +52,7 @@ type SessionKey struct { | |||
52 | NotBefore *time.Time | 52 | NotBefore *time.Time |
53 | PublicKey crypto.PublicKey | 53 | PublicKey crypto.PublicKey |
54 | PrivateKey *ecdsa.PrivateKey | 54 | PrivateKey *ecdsa.PrivateKey |
55 | ExposePrivateKeysInJSON bool `"-" json:"-" bson:"-"` | 55 | ExposePrivateKeysInJSON bool `json:"-" bson:"-"` |
56 | } | 56 | } |
57 | 57 | ||
58 | func GenerateSessionKey(ttl time.Duration) (*SessionKey, error) { | 58 | func GenerateSessionKey(ttl time.Duration) (*SessionKey, error) { |