Add recovery_hash field to users table.

This commit is contained in:
sigonasr2, Sig, Sigo 2021-08-12 01:13:14 +00:00
parent f1b75549f1
commit d87307a370

View File

@ -210,7 +210,7 @@ let allowCrossDomain = function(req, res, next) {
{ {
endpoint:"users", endpoint:"users",
requiredfields:["username","email","created_on","roles_id"], requiredfields:["username","email","created_on","roles_id"],
optionalfields:["avatar","editors_choice"], optionalfields:["avatar","editors_choice","recovery_hash"],
excludedfields:["password_hash"] //Fields to not output in GET. excludedfields:["password_hash"] //Fields to not output in GET.
}, },
{ {