]> git.mxchange.org Git - friendica.git/commitdiff
Be more kindly :-)
authorPhilipp <admin@philipp.info>
Sun, 27 Nov 2022 00:27:44 +0000 (01:27 +0100)
committerPhilipp <admin@philipp.info>
Sun, 27 Nov 2022 00:34:59 +0000 (01:34 +0100)
src/Module/Media/Attachment/Browser.php
src/Module/Media/Photo/Browser.php

index 021859c021e881693d5f296318f3e734c94ad442..50e0b7f803c35e8ec34d94d8b4a562f42767adc2 100644 (file)
@@ -55,7 +55,7 @@ class Browser extends BaseModule
        protected function content(array $request = []): string
        {
                if (!$this->session->getLocalUserId()) {
-                       throw new UnauthorizedException($this->t('Permission denied.'));
+                       throw new UnauthorizedException($this->t('You need to be logged in to access this page.'));
                }
 
                // Needed to match the correct template in a module that uses a different theme than the user/site/default
index 48f4b3a96babb519416fefb86f2db679c6038f81..76b9db3a516e937ade31e8eeb57079c72c8c6bf0 100644 (file)
@@ -56,7 +56,7 @@ class Browser extends BaseModule
        protected function content(array $request = []): string
        {
                if (!$this->session->getLocalUserId()) {
-                       throw new UnauthorizedException($this->t('Permission denied.'));
+                       throw new UnauthorizedException($this->t('You need to be logged in to access this page.'));
                }
 
                // Needed to match the correct template in a module that uses a different theme than the user/site/default