基于PhPbb数据库的会员提供者
我只是想知道如何基于 PhPbb 论坛数据库实现一个表单会员提供程序。我已经考虑过使用“phpbb_hash”函数端口简单地对密码进行哈希处理,并将其与数据库值进行比较,但是我似乎无法掌握登录系统,因为我得到的哈希值与数据库中的哈希值不同。
有人可以告诉我如何根据 PhPbb 数据库验证用户凭据吗?
I am just wondering how to go about implementing a forms Membership provider based off of a PhPbb forum database. I have looked at simply hashing the password using a function port of 'phpbb_hash' and comparing it to the database values, however I can't seem to grasp the login system as the hashes I was getting were not the same as those in the database.
Can someone tell me how to authenticate a users credentials against a PhPbb database?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否见过此带有身份验证提供程序的线程?这看起来是一个好的开始,至少可以解决您的身份验证问题,因为它似乎解决了哈希问题。
Have you seen this thread with an authentication provider? It looks like a good start to at least fix your authentication problem, as it seems to have the hashing problem down.
CodePlex 上有一个项目,但似乎已废弃: http://phpbbproviders.codeplex.com/
There is a project here on CodePlex, but it seems abandoned: http://phpbbproviders.codeplex.com/