Otherwise it is returned as bytes which is stored in postgresql incorrectly leading to failure to login (while registering works just fine).
Fixes https://pagure.io/pagure/issue/3491
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr
rebased onto 1b102d34862b24b6ffbef1f3dabe07740a9f4fff
1 new commit added
Fix unit-tests
Verified it works for me!
:thumbsup:
2 new commits added
Ensured the hashed password is unicode
rebased onto 29b1ab530c7d08a664ab68a1e6f279cdb426f19c
Thanks! :)
Pull-Request has been merged by pingou
Otherwise it is returned as bytes which is stored in postgresql
incorrectly leading to failure to login (while registering works
just fine).
Fixes https://pagure.io/pagure/issue/3491
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr