codersforcauses / p2s-backend

p2s rugbyworks backend
MIT License
7 stars 0 forks source link

Verified patch and find with slug #147

Closed Drewbi closed 5 years ago

Drewbi commented 5 years ago

Contains the two method updates allowing for unauthenticated registration of user details. hasVerifyToken Is used in the find hook to assure any unauthenticated users cannot access the user data without providing a verifytoken in their query. verifyRegisterToken Is used in the patch hook to assure the user the request is attempting to patch corresponds to the verifyToken provided in the request. Fixes #144