Welcome Guest, Not a member yet? Register   Sign In
How to protect a route if using shield ?
#3

Hi,

When I do the following:

---
$routes->get('admin', ' App\Controllers\Admin\Admin::index', ['filter' => 'admin-auth']);
---

I get error:

---
CodeIgniter\Filters\Exceptions\FilterException #3
admin-auth filter must have a matching alias defined.
---

Any help ?

Thanks.
Reply


Messages In This Thread
RE: How to protect a route if using shield ? - by kikloo - 12-10-2022, 11:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB