iris-web icon indicating copy to clipboard operation
iris-web copied to clipboard

Changing a lost password

Open dciftci opened this issue 2 years ago • 1 comments

Hello,

I would like to reset the administrator password.

I followed the steps on the official documentation - did not work for me. Not able to generate hash of the new password. Could you please assist me?

import bcrypt >>> print(bcrypt.hashpw(<1234>.encode('utf-8'), bcrypt.gensalt()) File "", line 1 print(bcrypt.hashpw(<1234>.encode('utf-8'), bcrypt.gensalt()) ^ SyntaxError: invalid syntax >>> print(bcrypt.hashpw(1234.encode('utf-8'), bcrypt.gensalt()) File "", line 1 print(bcrypt.hashpw(1234.encode('utf-8'), bcrypt.gensalt()) ^ SyntaxError: invalid syntax

dciftci avatar Nov 22 '23 13:11 dciftci

Hi @denizciftci-sec

You may want to set the password in quote, such as print(bcrypt.hashpw("1234".encode('utf-8'), bcrypt.gensalt())

whikernel avatar Nov 29 '23 10:11 whikernel