Completing the endpoint invloves:
failed response if:
pw is not strong enough
username is taken
THEY ARE HAKOR AND TRY TO INJECT STUFF
otherwise: return 200 and login user
Requirements:
Salting & Hashing
Immune to sql/html injections
Recommendations:
Create a User table
Use the bcrypt
Password requirement:
You need to have 8 characters
Lowercase + uppercase + number
Completing the endpoint invloves: failed response if: pw is not strong enough username is taken THEY ARE HAKOR AND TRY TO INJECT STUFF otherwise: return 200 and login user
Requirements: Salting & Hashing Immune to sql/html injections
Recommendations: Create a User table Use the bcrypt
Password requirement: You need to have 8 characters Lowercase + uppercase + number