3 ms·
Seems like the author went a little too fast here. Should definitely insert the hashed password into the db. edit: Otherwise, great read! Hoping for more.
by afghanPower 10y ago
Seems like the author went a little too fast here. Should definitely insert the hashed password into the db.
edit: Otherwise, great read! Hoping for more.
- stygiansonic 10y agoYeah, it seems like a typo. The "Signup Page" example doesn't use `hashPassword` but in the "entire source code" example at the bottom, it does properly use `hashedPassword` in the statement. (But still ignores any error from `bcrypt.GenerateFromPassword`)