Add recovery_hash field to users table.
This commit is contained in:
parent
f1b75549f1
commit
d87307a370
@ -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.
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user