From 8d34cf14c7bf432f2ef4e6ea5e01c6d5cc2e1796 Mon Sep 17 00:00:00 2001 From: Muhammad Date: Sun, 10 Nov 2024 01:13:00 +0100 Subject: [PATCH] fix typo in user model `resetTokenExpireTime` attribute --- lib/ontologies_linked_data/models/users/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ontologies_linked_data/models/users/user.rb b/lib/ontologies_linked_data/models/users/user.rb index 95d70e6f..1ddf7fa7 100644 --- a/lib/ontologies_linked_data/models/users/user.rb +++ b/lib/ontologies_linked_data/models/users/user.rb @@ -39,7 +39,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