Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unauthorized.html.twig that is missing and generating an error #1609

Merged
merged 1 commit into from
Feb 5, 2019
Merged

Add unauthorized.html.twig that is missing and generating an error #1609

merged 1 commit into from
Feb 5, 2019

Conversation

RogerRisson
Copy link
Contributor

When a user that is not an administrator tries to access a page that it does not have authorization. An error occurs with the message:

Template "default.html.twig" is not defined in "unauthorized.html.twig" at line 1.

Creating a file with name unauthorized.html.twig and just a line o code solves the problem.
So I did this pull request in order to solve the Bug. It's the first time that I try to made a pull request, if I do something wrong please let me know and I will fix it.

@rhukster rhukster merged commit 581c80a into getgrav:develop Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants