]> Raphaël G. Git Repositories - userbundle/commitdiff
Cleanup
authorRaphaël Gertz <git@rapsys.eu>
Thu, 12 Aug 2021 11:37:35 +0000 (13:37 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 12 Aug 2021 11:37:35 +0000 (13:37 +0200)
Handler/AuthenticationSuccessHandler.php

index 961c1b15419b334e3eb2db30c2e30b06a71e0fb3..90d53d74051b6a89d6e81fa367854630dbd2eeff 100644 (file)
@@ -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);
        }
 
     /**