I am installing yii2 and by mistake I have set a password which I cannot remember, the problem is that in the database it is encrypted, could you please let me know how to set it or if you have the original "admin" encryption.
you can create new hash password and replace to past hash password in your database.
note: salt is your email account that you want restore it.
$salt= ‘omid.ahmadyani@Outlook.com’;
$pass = crypt(‘00000000’,$salt);
die($pass);