v0.10.16 - Various fixes
This commit is contained in:
@@ -23,11 +23,11 @@ class UserController extends Controller
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware([ "auth" ])->only("logout");
|
||||
|
||||
$this->middleware([ "guest" ])->only("login");
|
||||
$this->middleware([ "lang" ])->except(["login", "showLogin", "showForgot", "forgot"]);
|
||||
|
||||
$this->middleware([ "check.auth:user.list" ])->only("index");
|
||||
$this->middleware([ "check.auth:user.show" ])->only("show");
|
||||
$this->middleware([ "check.auth:user.show" ])->only("show", "index");
|
||||
$this->middleware([ "check.auth:user.create" ])->only("create");
|
||||
$this->middleware([ "check.auth:user.edit" ])->only(["edit", "update"]);
|
||||
$this->middleware([ "check.auth:user.delete" ])->only("delete");
|
||||
|
||||
Reference in New Issue
Block a user