KevinKim99 / Ticket-Tech

1 stars 2 forks source link

Login save to clients table #102

Closed KenichiroAnderson closed 4 months ago

KenichiroAnderson commented 4 months ago

previously the login used a webpage user and key that would push it locally but not actually save the data or do anything of importance with it to sign up and login, now the data gets entered into the form, password gets hashed and then saved into the clients table. then when we log in we verify the form credentials, compare the usernames to other usernames in the table if we find it then we compare the password that is hashed, so we hash the entered password and compare it to the one in the database. so no direct comparison of the passwords is done

KevinKim99 commented 4 months ago

I have checked that it works perfectly as it shows the client detail whom logged into the web! Good work!

NathanIsCoding commented 4 months ago

I checked through the code, everything looks like its been formatted well, good stuff.

eremozdemir commented 4 months ago

this is a great way to keep efficiency within the login process, good job!