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
Who is online
Users browsing this forum: Bing [Bot] and 3 guests