开发者

How to prevent Kohana 3.1's ORM to use Auth?

开发者 https://www.devze.com 2023-02-25 21:42 出处:网络
The Auth module of Kohana 3.1 is broken so I need to implement mine. However, it seems that when I disable the Auth module, the ORM is still using it. i.e. it\'开发者_如何学Gos going to try to apply A

The Auth module of Kohana 3.1 is broken so I need to implement mine. However, it seems that when I disable the Auth module, the ORM is still using it. i.e. it'开发者_如何学Gos going to try to apply Auth::hash on passwords, load orm/auth/user.php when trying to access users, etc.

Is there any way to prevent it from doing that and let me manage my own users and roles tables?


Disable the Auth module and extend ORM directly in your models on application level (Model_User, Model_Role).

0

精彩评论

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

关注公众号