v0.5.7a - Added middelware

This commit is contained in:
2020-08-07 08:51:05 +02:00
parent 23929310f7
commit e5e057a51a
3 changed files with 4 additions and 3 deletions
@@ -21,7 +21,7 @@ class UserController extends Controller
{
$this->middleware([ "auth" ])->only("logout");
$this->middleware([ "guest" ])->only("login");
$this->middleware([ "lang" ])->except(["login", "showLogin"]);
$this->middleware([ "lang" ])->except(["login", "showLogin", "showForgot", "forgot"]);
$this->middleware([ "check.auth:user.list" ])->only("index");
$this->middleware([ "check.auth:user.show" ])->only("show");