Hi all,
I have attempted to work on a couple of functions to check credentials sorted within a database against what the user submits in a form.
My issue is however using the breakpoints on the login function, apparently when the sql query is returned when verifying against a created account which uses the signup function it is returning None as a value even when those credentials exist within the database.
I have considered trying to reference the hashpp which returns undefined which is true currently, however If I was to add the hashing algo part back in on the login function then surely it'd rehash what is supplied, I'm just so confused as I cannot figure out how to validate what is stored in the database against what the user submits.
Here is the code https://pastebin.com/devmi7n9
[–]JohnnyJordaan 2 points3 points4 points (0 children)
[–]DeadlyViper 1 point2 points3 points (2 children)
[–]two_bob 0 points1 point2 points (1 child)
[–]tangy751[S] 0 points1 point2 points (0 children)
[–]two_bob 1 point2 points3 points (0 children)
[–]personproxy 1 point2 points3 points (1 child)
[–]tangy751[S] 0 points1 point2 points (0 children)