fixes #2569 big warning when editing guest user permissions

This commit is contained in:
plegall
2026-07-07 17:10:47 +02:00
parent 9822df60c8
commit 0329e6a91e
3 changed files with 7 additions and 0 deletions
+5
View File
@@ -67,6 +67,11 @@ elseif (isset($_POST['trueify'])
// | template init |
// +-----------------------------------------------------------------------+
if ($page['user'] == $conf['guest_id'])
{
$page['warnings'][] = l10n('Users not logged in will have these permissions applied. Grant access to private albums only with great caution.');
}
$template->set_filenames(
array(
'user_perm' => 'user_perm.tpl',