Rename notice message.

This commit is contained in:
nupplaPhil 2020-03-01 15:38:23 +01:00
parent c751352d60
commit c11cfd5e48
No known key found for this signature in database
GPG Key ID: D8365C3D36B77D90

View File

@ -100,7 +100,7 @@ class Notification extends BaseModule
public static function content(array $parameters = []) public static function content(array $parameters = [])
{ {
if (!local_user()) { if (!local_user()) {
notice(DI::l10n()->t('Permission denied.')); notice(DI::l10n()->t('You must be logged in to show this page.'));
return Login::form(); return Login::form();
} }