Hi.
I working on the Metronics Laravel app.
It was working well before I run "Composer update" to install the DebugBar.
After the upgrade I can't login to App.
Getting "Sorry, looks like there are some errors detected, please try again." error message.
From DebugBar i got this execption "Unauthenticated.
Applications/MAMP/htdocs/FInV2/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php#95"
*/
protected function unauthenticated($request, array $guards)
{
throw new AuthenticationException(
'Unauthenticated.', $guards, $this->redirectTo($request)
);
}
Hi Ilgar Mustafa,
Could you please check the browser console log for any additional error messages? The console log often provides more details about the issues, and it can help us identify the root cause of the authentication problem.
Feel free to share any error messages or warnings you find in the console log, and I'll do my best to guide you.
Thanks
Concole error log is as follows:
GET http://127.0.0.1:8000/dashboard 401 (Unauthorized)
dispatchXhrRequest @ plugins.bundle.js:44221
xhr @ plugins.bundle.js:44030
dispatchRequest @ plugins.bundle.js:44320
request @ plugins.bundle.js:44637
httpMethod @ plugins.bundle.js:44673
wrap @ plugins.bundle.js:42060
(anonymous) @ general.js:126
Promise.then (async)
(anonymous) @ general.js:117
May I know which version Metronic version are you using? I think we already fixed this issue in the recent version. Could you please try to download from here?
https://devs.keenthemes.com/metronic/laravel
Thanks
Yes, I tried latest version and it works.
Thank you.
I'm glad to hear it worked for you! If you have any further questions or need assistance with anything else, feel free to ask.