1

when I login to my Craft CMS website via a normal user that user doesn't have permission to login to the Control Panel, it displays some error like HTTP 403 – Forbidden – yii\web\ForbiddenHttpException.

This error is correct but I want to display some message instead of this error.

1

You are seeing this because you have 'devMode' => true, in your config/general try switching to false and should hit a 'user friendly' message

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.