Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 Bonafide, 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.

like image 885
steveint Avatar asked Feb 19 '11 19:02

steveint


2 Answers

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

like image 126
JDStraughan Avatar answered Sep 29 '22 06:09

JDStraughan


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

like image 33
steveint Avatar answered Sep 29 '22 07:09

steveint