function __construct() { parent::__construct('roles', '角色'); }
function __construct() { parent::__construct('permissions', '权限'); }
/** * Create a new authentication controller instance. */ public function __construct() { parent::__construct(); $this->middleware('admin.guest', ['except' => 'getLogout']); $this->redirectPath = config('forone.RedirectAfterLoginPath') ? config('forone.RedirectAfterLoginPath') : $this->redirectPath; }
function __construct() { parent::__construct('admins', '管理员'); }