29b1ab5 Ensured the hashed password is unicode

Authored and Committed by pingou 6 years ago
    Ensured the hashed password is unicode
    
    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>
    
        
file modified
+2 -2