diff --git a/lib/ontologies_linked_data/models/users/user.rb b/lib/ontologies_linked_data/models/users/user.rb index 1ba09c0c..6027e3c9 100644 --- a/lib/ontologies_linked_data/models/users/user.rb +++ b/lib/ontologies_linked_data/models/users/user.rb @@ -33,7 +33,7 @@ class User < LinkedData::Models::Base embed :subscription embed_values :role => [:role] serialize_default :username, :email, :role, :apikey - serialize_never :passwordHash, :show_apikey, :resetToken, :restTokenExpireTime + serialize_never :passwordHash, :show_apikey, :resetToken, :resetTokenExpireTime serialize_filter lambda {|inst| show_apikey?(inst)} # Cache