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 6e0651a commit 1f2dd75
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
Expand Up @@ -2,6 +2,8 @@
{% import '_includes/forms' as forms %}
{% import 'verbb-base/_macros' as macros %}

{% requireAdmin %}

{% set crumbs = [
{ label: 'Expanded Singles' | t('expanded-singles'), url: url('expanded-singles/settings') },
{ label: 'Settings' | t('app'), url: url('expanded-singles/settings') }
Expand Down

0 comments on commit 1f2dd75

Please sign in to comment.