mirror of
https://github.com/friendica/friendica
synced 2025-04-26 06:30:11 +00:00
a couple more items to make sure forum delegates can't access if the forum login is shared with the site admin account
This commit is contained in:
parent
0500fc2826
commit
8ff6cb8406
2 changed files with 3 additions and 1 deletions
|
@ -107,7 +107,7 @@ function regmod_content(&$a) {
|
|||
return $o;
|
||||
}
|
||||
|
||||
if(!is_site_admin()) {
|
||||
if((!is_site_admin()) || (x($_SESSION,'submanage') && intval($_SESSION['submanage']))) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
return '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue