You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No way Tank_auth use "phpass" to generate the hashes.
Its not recalculateable, you can just brute-force the hashes and generate then new hashes from the brute-forced hashes.
Or the easy and right way
Copy the name and email adress with empty 'pass' and 'verification_code' fields and the use the lil' code it would send new passwords to all users who has no password after migration
public function complete_migrate(){
foreach($this->aauth->list_users() as $user){
$user = get_object_vars($user);
if($user['verification_code'] == '' && $user['pass'] == ''){
$this->aauth->reset_password($user['id'],'');
}
}
}
If use the Aauth-Lib then fix in Line 383 'alphanum' to 'alnum' then the users go a password.
It got be fixed with the next merge i think.
@REJack is right. i have take a look at tank_auth and see that the poswords fields in database cannot be decrypted. Thus it's better to use @REJack 's solution. You can reset all user paswords.
Hello!
Is there a way to migrate the users with same hashes in use on my application to Aauth?
Thanks.
The text was updated successfully, but these errors were encountered: