We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 077d5dc commit 49b3b6fCopy full SHA for 49b3b6f
1 file changed
modules/core/src/Auth/Source/SourceIPSelector.php
@@ -110,14 +110,14 @@ protected function selectAuthSource(/** @scrutinizer ignore-unused */ array &$st
110
}
111
112
113
- if ($source === $this->defaultSource) {
114
- Logger::info("core:SourceIPSelector: no match on client IP; selecting default zone");
115
- }
116
-
117
if ($source === null) {
118
throw new Error\NotFound();
119
120
+ if ($source === $this->defaultSource) {
+ Logger::info("core:SourceIPSelector: no match on client IP; selecting default zone");
+ }
+
121
return $source;
122
123
0 commit comments