Add recovery_hash field to users table.

dependabot/npm_and_yarn/server/tar-4.4.19
sigonasr2, Sig, Sigo 3 years ago
parent f1b75549f1
commit d87307a370
  1. 2
      server/app.js

@ -210,7 +210,7 @@ let allowCrossDomain = function(req, res, next) {
{
endpoint:"users",
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.
},
{

Loading…
Cancel
Save