X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/2b55a565f43b0581c625cbc00948749d983056cc..78afa67ad8c7163374b13f05394cc9e016189f3a:/Handler/AuthenticationSuccessHandler.php?ds=sidebyside

diff --git a/Handler/AuthenticationSuccessHandler.php b/Handler/AuthenticationSuccessHandler.php
index 961c1b1..90d53d7 100644
--- a/Handler/AuthenticationSuccessHandler.php
+++ b/Handler/AuthenticationSuccessHandler.php
@@ -59,11 +59,11 @@ class AuthenticationSuccessHandler extends DefaultAuthenticationSuccessHandler {
 	 * {@inheritdoc}
 	 */
 	public function __construct(RouterInterface $router, array $options = []) {
-		//Set options
-		$this->setOptions($options);
-
 		//Set router
 		$this->router = $router;
+
+		//Set options
+		$this->setOptions($options);
 	}
 
     /**