开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜