Skip to content

Commit

Permalink
Only admins are now allowed to access plugin settings
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Jan 5, 2023
1 parent 800fabb commit 6877df4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/templates/settings.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{% extends 'cp-nav/_layouts' %}
{% import '_includes/forms' as forms %}

{% requireAdmin %}

{% set crumbs = [
{ label: 'Control Panel Nav' | t, url: url('cp-nav') },
{ label: 'Settings' | t, url: url('cp-nav') }
Expand Down

0 comments on commit 6877df4

Please sign in to comment.