CodeIgniter 罐身份验证

发布于 2024-10-13 00:24:37 字数 242 浏览 3 评论 0原文

我正在使用这个名为 Tank Auth 的优秀库。希望这个问题不会太小众,因为它特定于这个库。

我正在尝试如何在用户注册后立即登录。看来这个库不提供这个功能,我不想开始搞乱这个库,但也许有人已经做到了这一点,并且可以描述一种让它工作的非黑客方法?

感谢大家的帮助。

I am making use of this excellent library called Tank Auth. Hopefully this question won't be too niche as its specific to this library.

I am trying to work how I can login a user as soon as they have registered. It seems this library doesn't offer this functionality and I don't want to start messing with the library but maybe someone has done this already and can describe a non-hackey way of getting this to work?

Thanks all for any help.

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

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

发布评论

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

评论(1

╭⌒浅淡时光〆 2024-10-20 00:24:37

这个电子邮件库的创建者非常友善,很快回复了我的电子邮件,这是一个非常简单的解决方案!就像调用登录函数一样简单!

$this->tank_auth->login($data['email'], $this->form_validation->set_value('password'), true, $data['login_by_username'], $data['login_by_email']);

The creator of this email library was kind enough to reply to my email very quickly and it was a very easy solution! As simple as calling the login function!

$this->tank_auth->login($data['email'], $this->form_validation->set_value('password'), true, $data['login_by_username'], $data['login_by_email']);
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文