开发者

3.1 Auth working example of login/logout controller methods? [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 10 years ago.

Does anyone happen to have a working example of Auth in 3.1? I've been trying to get this to work, but have not had any luck.

New to Kohana, first attempt is 3.1. Found Bon开发者_如何转开发afide, but don't need it since I'm starting w/ 3.1.

Been using examples from kerkness.ca's wiki, but they're for 3.0, and I'm too new to Kohana to know what to do. Would love to see a working example, hopefully to get buy-in from the rest of my dev team.


I have created a quick tutorial that shows how to use the Kohana 3.1 Auth module using the ORM driver. It covers the steps necessary to implement creating users, logging in and out, and viewing logged in user info. Hopefully it is a good starting point.

Link to tutorial: Auth module for Kohana 3.1 using ORM Driver


Not sure what the problem was, but after my third from-scratch attempt, I was able to get it to work. I used this: http://github.com/biakaveron/kohana-auth/wiki

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜