我正在运行 Kohana 3,并且很难理解 Auth 模块,或者即使它是我需要的。基本上我想创建一个具有基本用户名/密码保护的基本用户配置文件站点。
我如何使用我现有的控制器...
class Controller_Profile extends Controller
{
function action_index( $user_id )
{
// User should already be authenticated by here I think
}
}
...并将它们与某种身份验证系统一起使用