diff options
Diffstat (limited to 'httemplate/pref/pref-process.html')
-rw-r--r-- | httemplate/pref/pref-process.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/pref/pref-process.html b/httemplate/pref/pref-process.html index 47f80afd0..a340b7fc9 100644 --- a/httemplate/pref/pref-process.html +++ b/httemplate/pref/pref-process.html @@ -7,6 +7,11 @@ % } <%init> +if ( FS::Conf->new->exists('disable_acl_changes') ) { + errorpage("Preference changes disabled in public demo"); + die "shouldn't be reached"; +} + my $error = ''; my $access_user = ''; |