Fixed permissions, seeders and security
This commit is contained in:
parent
27fd564e9f
commit
f14dc22d92
|
@ -27,7 +27,7 @@ class UserController extends Controller
|
|||
$this->middleware([ "check.auth:user.edit" ])->only("edit", "update");
|
||||
$this->middleware([ "check.auth:user.delete" ])->only("delete");
|
||||
|
||||
$this->middleware([ "check.auth:ownuser.edit" ])->only("update", "accountedit", "accounteditpass");
|
||||
$this->middleware([ "check.auth:ownuser.edit" ])->only("update", "accountedit", "accounteditpass", "account");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue