Tank Auth is a permission management library for Codeigniter with very powerful functions. After integrating CI, one day I transferred the database to another server and found that I could not log in using the previous username and password.
After struggling for a long time, I finally found the solution:
1. Find the config/tank_auth.php file
2. Modify parameters
Change $config['phpass_hash_portable'] = FALSE; to
3. Then log in locally with the previous user password and change the password .
4. Transfer table users again
5. Log in to the server with the modified password
This is normal!