How to solve password user error caused by CI using TankAuth to transfer database _ PHP Tutorial

Source: Internet
Author: User
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...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.