]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/BaseAdmin.php
Prevent settings/userexport to be used by anonymous users
[friendica.git] / src / Module / BaseAdmin.php
index e49059bbad5dffdd5c3f096b470651d1d735c4d7..90b246e432f0640cea9aa080207afbf456d2690b 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -64,7 +64,7 @@ abstract class BaseAdmin extends BaseModule
                }
 
                if (!empty($_SESSION['submanage'])) {
-                       throw new HTTPException\ForbiddenException(DI::l10n()->t('Submanaged account can\'t access the administation pages. Please log back in as the main account.'));
+                       throw new HTTPException\ForbiddenException(DI::l10n()->t('Submanaged account can\'t access the administration pages. Please log back in as the main account.'));
                }
        }