fi-ksi / web-backend

Backend for KSI web written in Python.
MIT License
8 stars 3 forks source link

BCrypt return type #153

Closed esoadamo closed 2 years ago

esoadamo commented 2 years ago

Current bcrypt usage depends on that MySQL backend will convert bytes into str. This is not a case with SQLite database and can also cause possible problems in the future.

esoadamo commented 2 years ago

Tested on kyzikos, registration and login works as expected both with new and old account.