Skip to content
Permalink
Browse files

Use a class constant for easier extandability.

  • Loading branch information...
dereuromark committed Sep 14, 2016
1 parent 59fec3d commit ecb3d33462db0eb30d672a6491d29d03cb03cc04
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Controller/Component/AuthComponent.php
@@ -760,7 +760,7 @@ protected function _getUser()
*/
public function redirectUrl($url = null)
{
$redirectUrl = $this->request->query(self::QUERY_STRING_REDIRECT);
$redirectUrl = $this->request->query(static::QUERY_STRING_REDIRECT);
if ($redirectUrl && (substr($redirectUrl, 0, 1) !== '/')) {
$redirectUrl = null;
}

0 comments on commit ecb3d33

Please sign in to comment.
You can’t perform that action at this time.