Unanswered
How Do I Get Username From My Account Login?
I Am Trying To Login On My Self Hosted Solution But That Requires A Usernme Password. So Wondering What Is The Username If I Have Signed Up Using Email Id Password
dikshagohlyan@DIKSHAs-MBP ~ % python3 -c 'import bcrypt,base64; print(base64.b64encode(bcrypt.hashpw("pleasechange".encode(), bcrypt.gensalt())))' Traceback (most recent call last): File "<string>", line 1, in <module> File "/opt/homebrew/Cellar/python@3.9/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/base64.py", line 58, in b64encode encoded = binascii.b2a_base64(s, newline=False) TypeError: a bytes-like object is required, not 'str'
Also I am getting this error. Do you know it might be
185 Views
0
Answers
2 years ago
one year ago