Codeigniter 坦克授权

发布于 2024-12-04 17:24:15 字数 233 浏览 1 评论 0原文

我想知道是否有人可以帮助我,我最近移动了我的网站来测试它,所以我基本上复制了数据库并上传了文件。这意味着我已经在本地服务器上设置了一个用户帐户。然而,我发现登录有点不稳定,当我登录时它不接受它,所以我不得不重置我的密码,然后它就可以正常工作了。然后我决定注册另一个用户,效果很好,但第二天我去登录,它不允许我,即使我知道详细信息是正确的......

还有其他人经历过类似的事情吗?另外,如果有的话,你是如何解决的?

谢谢

I am wondering if someone can help me, I have recently moved my site live to test it so I basically copied the database and uploaded the files. This means that I had already set up a user account on my local server. However, I have found the login to be a bit temperamental, when I went to login it wouldn’t accept it so I had to reset my password which it then worked fine. Then I decided to register another user and that worked fine however I went to log in the next day and it wouldn’t let me, even though I know that the details were correct…

Has anyone else experienced something similar? Also, if you have, how did you fix it?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

漆黑的白昼 2024-12-11 17:24:15

使用 Tank Auth 需要记住的一件事是,密码哈希值仅限于单个服务器,并且不适用于任何其他服务器。您可以通过将 phpass_hash_portable 更改为 true 来更改 Tank_auth 配置文件中的设置,但这不太安全。我的建议是重新创建帐户。

这是我在你的情况下能想到的唯一问题,希望能解决。

One thing to remember with Tank Auth is that the password hashes are localized to a single server, and will not work on any other. You can change that inside the tank_auth config file by changing phpass_hash_portable to true, but this is less safe. My recommendation is to just recreate the accounts.

That is the only problem I can think of in your situation, hope if fixes it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文