vp35161
The POST method is not supported for route admin/login. Supported methods: GET, HEAD.
ok let me ssee if i can make it with your info
found this in routes.php so it si clearly doing it on itself
Route::name('auth.')->group(function () use ($panel) {
if ($panel->hasLogin()) {
Route::get($panel->getLoginRouteSlug(), $panel->getLoginRouteAction())
->name('login');
}
154 replies
The POST method is not supported for route admin/login. Supported methods: GET, HEAD.
ok but if i want under midldleware ?
Route::middleware(['web', 'auth'])->group(function () {
Route::get('/admin', [AdminPanelProvider::class, 'panel'])->name('admin.panel');
154 replies
The POST method is not supported for route admin/login. Supported methods: GET, HEAD.
@Dennis Koch Hi. I understood what you were reffering on production and so on (i stopped using the serve on artisan cause i allready have the apache :)) . I have some problems with sellinux but atm for just testings I am close to having it okay on production. The only problem I face is that the login route doesnt work under the protected middleware and I dont know if i Have to do any separate routes for login or not (i tried but it doesnt work). Without middleware I can see the login page of fillament, but with it, something is out of my grasping. If you or any other user can guide a bit, it would ne awesome ( i am srtugling for many hours on this part 😦 )
154 replies