mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
fixes #2569 big warning when editing guest user permissions
This commit is contained in:
1 parent
9822df60c8
commit
0329e6a91e
3 files changed
+7
No files matched your search
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user