kohana-auth

Kohana Auth Module not hashing the password

I'm using Kohana 2.3.4 and can't get the auth module to work. I'm just adding a user like this: $user = ORM::factory('user'); $user->username = 'admin'; $this->auth = Auth::instance(); $user->email = '[email protected]'; $user->password = 'secret'; $user->add(ORM::factory('role', 'login')); $user->save(); The problem is that w...

Kohana Auth Module without ORM

Hi, I am using Kohana 3.0.3. I have been searching Auth module without ORM support,for couple of days. But didn't get any useful information. Could you please suggest and/or tutorial something here? ...

Kohana v3 ACL A2 with database support

Hi, I am using Kohana V 3.0.3. I was looking for ACL library and found from http://dev.kohanaphp.com/projects A2 Kohana's ACL module. Apparently it's found that, it manages Roles,Resources and Rules using config file and authenticate object basis. I want it to be dynamic, like Resources and Rules should be loaded from database dyn...

Login with Kohana auth module - what am I doing wrong?

I'm trying to login with the following controller action, but my login attempt keeps failing (I get the 'invalid username and/or password' message). What am I doing wrong? I also tried the other method given in the examples in the auth documentation, Auth::instance()->login($user->username, $form->password);, but I get the same result....

Kohana 3: Auth module

Hi, i'm trying to learn the Kohana's Auth module but login method always return false. Controller: <?php defined('SYSPATH') OR die('No Direct Script Access'); class Controller_Auth extends Controller { public function action_index() { if($_POST) { $this->login(); } $this->template = View::factor...

Kohana 3: Login without salt

We're developing a software that will manage users and I need to build an application with Kohana 3 and Auth Module. My application will allow just login. I don't need to append a salt to the passwords when user log in. How could i do that? Thank you. EDIT: I know, its wrong but I changed the core. Now I encrypt password without the sa...

How to delete all user roles in Kohana 3

I'm using ORM Auth module and it's difficult to figure out how to do it. I've tried this case: $user = ORM::factory('user', $id); $user->roles->delete_all(); And got error ErrorException [ Fatal Error ]: Call to undefined method Database_Query_Builder_Delete::join() However $user->roles->find_all(); gives me exactly what i want. ...

Using PHP, Kohana 3, and the Auth module, how to structure database for additional user info beyond username, email and password.

I'm building the next Facebook!! No, kidding. I'm building a simple site to help me learn. It will allow users to log in with an email and password. There will be other information collected from the user that is pertinent to the sites functions. Using the supplied Kohana Auth module, should I store the separate data in another table...

Kohana 3 auth module, getting users with 'staff' or 'manager' role

I'm learning the framework, and now building an application using it. I need to get all users that have 'user' or 'staff' role, but I couldn't find about it on the documentation. Help anyone? (I think it's more an ORM problem the the auth module) ...

Kohana: Jelly-Auth and Jelly-Formo won't play well together... cause errors...

Trying to use the modules: Jelly-Auth and Jelly-Formo is causing 2 errors. Depending on how I arrange my boostrap file I can get rid of one error or the other but not both... Error 1: Auth works fine, formo doesn't: http://wellcommentedcode.com/stack_questions/formo.jpg Kohana::modules(array( 'database' => MODPATH.'database', //...

Auth, Login / Logout

How do I create a login and logout feature using kohana? ...

PHP framework with good user login/admin

I am looking for a good PHP framework with a good user login & admin. I have looked at Codeigniter, but the user admins I have found seem dated. I have been looking at at Kohana, but have not been able to find a viable login / admin pannel? I basically need: User login User verification of new user User p/w reset Admin add/edit/del ...

Kohana 3: Auth::factory() gives error

Hello, When I try to make a new instance of the Auth-module object (Auth::factory()), Kohana gives me the following error: Cannot instantiate abstract class Auth Can someone help? ...