Skip to content
Snippets Groups Projects
Unverified Commit 56c6228a authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

bugfix: We should only automatically select an auth source when none was specified in the URL.

parent 77842781
No related branches found
No related tags found
No related merge requests found
...@@ -105,7 +105,7 @@ class Controller ...@@ -105,7 +105,7 @@ class Controller
unset($this->sources['admin']); unset($this->sources['admin']);
} }
if (count($this->sources) === 1) { // we only have one source available if (count($this->sources) === 1 && $as === null) { // we only have one source available
$as = key($this->sources); $as = key($this->sources);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment