Hi,
I Importet a list of User in directly in the DB.
How can i set a Standard Password for any User?
Regrads,
ELi
User Import , Standard Password
Moderator: Thorsten
Re: User Import , Standard Password
Hi,
you can use this little PHP script:
The salt can be found in the faqconfig table, entry "security.salt"
bye
Thorsten
you can use this little PHP script:
Code: Select all
<?php
$user = "admin";
$password= "test";
$salt = "43e35fc8593ea7313d934d4f839c63de";
$pass = hash('sha256', $password . $salt . $user);
echo $pass;
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: User Import , Standard Password
Is this still the right way because it is not working for me.
Re: User Import , Standard Password
Hi,
yes, do you use "your" salt?
bye
Thorsten
yes, do you use "your" salt?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: User Import , Standard Password
deleted german question
sorry, did not recognized, that it is all in english.
sorry, did not recognized, that it is all in english.
Last edited by lombx2 on Tue Jul 30, 2019 5:29 am, edited 1 time in total.