solved editing middleware zone in __construct of the AuthController in this way
$this->middleware('guest', ['except' => ['getLogout', 'getRegister', 'postRegister']]);
$this->middleware('auth', ['only' => ['getRegister', 'postRegister']]);
$this->middleware('manager', ['only' => ['getRegister', 'postRegister']]);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community