laravel-enso / enso

Laravel Vue SPA, Bulma themed. For demo login use `admin@laravel-enso.com` & `password` -
https://www.laravel-enso.com
MIT License
1.08k stars 277 forks source link

Guest middleware still requiring login #318

Closed curtisdelicata closed 4 years ago

curtisdelicata commented 4 years ago

This is a bug .

Prerequisites

Description

Using the below route, with a new controller directory and Index controller and copy and pasted modified Vue route and Vue page file with just content it makes me login before being able to view my about page. The only thing I've changed is adding AppFooter to every page, but that wouldn't break anything would it?

     Route::middleware(['guest'])->group(
         function() {

        Route::namespace('About')
            ->prefix('about')
            ->as('about.')
            ->group(function () {
                Route::get('about', 'Index')->name('index');
    });
});

Steps to Reproduce

Expected behavior

Actual behavior

curtisdelicata commented 4 years ago

Tested by removing my appfooter patch and same behaviour.

aocneanu commented 4 years ago

@curtisdelicata we're releasing today 4.0.1, please try again once the release is live.

If the problem persists please create an enso fork where you can add the minimum files to reproduce your problem and we'll help you solve it asap.

curtisdelicata commented 4 years ago

Thank you. I will update you once done @aocneanu

curtisdelicata commented 4 years ago

https://github.com/modularsoftware/enso is the test repository. I'm just committing the basic files now.

curtisdelicata commented 4 years ago

I spotted this in one of the core routes js meta...

    guestGuard: true,

I am building now to see if it fixes it.

curtisdelicata commented 4 years ago

That fixed it. Sorry for the bother.