Page 1 of 1
User Import , Standard Password
Posted: Mon Jul 14, 2014 1:44 pm
by xeli
Hi,
I Importet a list of User in directly in the DB.
How can i set a Standard Password for any User?
Regrads,
ELi
Re: User Import , Standard Password
Posted: Mon Jul 14, 2014 6:52 pm
by Thorsten
Hi,
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;
The salt can be found in the faqconfig table, entry "security.salt"
bye
Thorsten
Re: User Import , Standard Password
Posted: Thu Jul 30, 2015 4:53 am
by skione
Is this still the right way because it is not working for me.
Re: User Import , Standard Password
Posted: Thu Jul 30, 2015 7:06 pm
by Thorsten
Hi,
yes, do you use "your" salt?
bye
Thorsten
Re: User Import , Standard Password
Posted: Mon Jul 29, 2019 9:08 am
by lombx2
deleted german question
sorry, did not recognized, that it is all in english.