Custom 401 error page

Posted 1 year ago by ochirach


Version: 5.4

I want all by error views to match the application theme, rather than a white page with the error text on the top-left.

It seems that doing this for 404 errors is as simple as creating a file in views/errors/404.blade.php. This works fine.

But the same does not occur for error 401. Is it best practice to customize this 401 error page?

If so, what extra steps are required as I assumed it was as simple as creating a new error file.


Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.