Skip to content

Commit

Permalink
Merge pull request #41673 from nextcloud/Valdnet-patch-1
Browse files Browse the repository at this point in the history
Correct spelling
  • Loading branch information
AndyScherzinger authored Nov 23, 2023
2 parents 72d5218 + 318875a commit 27f9672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/settings/lib/SetupChecks/ForwardedForHeaders.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function getCategory(): string {
}

public function getName(): string {
return $this->l10n->t('Forwared for headers');
return $this->l10n->t('Forwarded for headers');
}

public function run(): SetupResult {
Expand All @@ -56,7 +56,7 @@ public function run(): SetupResult {
$detectedRemoteAddress = $this->request->getRemoteAddress();

if (!\is_array($trustedProxies)) {
return SetupResult::error($this->l10n->t('Your trusted_proxies setting is not correctly set, it should be an array.'));
return SetupResult::error($this->l10n->t('Your "trusted_proxies" setting is not correctly set, it should be an array.'));
}

if (($remoteAddress === '') && ($detectedRemoteAddress === '')) {
Expand Down

0 comments on commit 27f9672

Please sign in to comment.