mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 13:53:45 +02:00
Clean up routes and middleware checking
This commit is contained in:
@@ -20,11 +20,7 @@ class AccountsController extends Controller
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
|
||||
// All routes in this controller are protected by the authentication middleware.
|
||||
$this->middleware('auth');
|
||||
$this->middleware('admin');
|
||||
|
||||
//
|
||||
}
|
||||
|
||||
public function getIndex(Request $request)
|
||||
|
||||
Reference in New Issue
Block a user