CnCNet / cncnet-ladder-api

CnCNet Ladder API & UI for Command & Conquer
https://ladder.cncnet.org
GNU General Public License v3.0
5 stars 4 forks source link

Unable to login - temp solution for local dev #59

Open GrantBartlett opened 2 years ago

GrantBartlett commented 2 years ago

For local dev for me and for Burg on Discord, we had to do this to be able to "login" to the ladder site. Just a heads up for those wanting to dev locally.

Maybe theres some config issue we needed in the env (not sure). image

alexp8 commented 2 years ago

i ran into this issue again today, @GrantBartlett not sure why - applied this work around for now

alexp8 commented 2 years ago

workaround, posting this so easier to copy paste

// 'App\Http\Middleware\StartLazySession',
// 'App\Http\Middleware\ShareErrorsLazySession',
'Illuminate\Session\Middleware\StartSession',
'Illuminate\View\Middleware\ShareErrorsFromSession',