mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Merge pull request #41673 from nextcloud/Valdnet-patch-1
Correct spelling
This commit is contained in:
commit
27f96722f3
1 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ class ForwardedForHeaders implements ISetupCheck {
|
|||
}
|
||||
|
||||
public function getName(): string {
|
||||
return $this->l10n->t('Forwared for headers');
|
||||
return $this->l10n->t('Forwarded for headers');
|
||||
}
|
||||
|
||||
public function run(): SetupResult {
|
||||
|
|
@ -56,7 +56,7 @@ class ForwardedForHeaders implements ISetupCheck {
|
|||
$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 === '')) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue