|
@@ -138,8 +138,7 @@ |
|
|
block discarded – undo |
|
138
|
138
|
$request = $requestStack->getMasterRequest(); |
|
139
|
139
|
|
|
140
|
140
|
$path = ($request && $this->redirectPathQueryKey) ? |
|
141
|
|
- $request->query->get($this->redirectPathQueryKey, $this->defaultRedirectPath) : |
|
142
|
|
- $this->defaultRedirectPath; |
|
|
141
|
+ $request->query->get($this->redirectPathQueryKey, $this->defaultRedirectPath) : $this->defaultRedirectPath; |
|
143
|
142
|
|
|
144
|
143
|
if (null === $path) { |
|
145
|
144
|
throw new UnexpectedValueException(sprintf('The querystring key `%s` could not be found in the request to generate a token URL', $this->redirectPathQueryKey)); |
Please login to merge, or discard this patch.