CI uses TankAuth to transfer the database, leading to incorrect password. TankAuth is a permission management library for Codeigniter and has powerful functions. After CI integration, I transferred the database to another server one day. I found that using the previous username and password Tank Auth is a permission management library for Codeigniter and has powerful functions. After CI integration, I transferred the database to another server one day and found that I was unable to log on with the previous user name and password.
After a long time, I finally found a solution:
1. findConfig/tank_auth.phpFile
2. modify parameters
Change $ config ['phpass _ hash_portable '] = FALSE
The code is as follows:
$ Config ['phpass _ hash_portable'] = TRUE;
3,Then, log on locally with the previous user password and change the password..
4. transfer the table users again
5. log on to the server with the modified password
This is normal!
Http://www.bkjia.com/PHPjc/788624.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/788624.htmlTechArticleTank Auth is a permission management library for Codeigniter, very powerful. After CI integration, I transferred the database to another server one day and found that the previous user name and password were both...