X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/a1bf95f93f8b4954704f82283e09608b8201396c..d9a3d3a33e0f9c94c4af34b92984685e7c720514:/Handler/AuthenticationSuccessHandler.php?ds=sidebyside diff --git a/Handler/AuthenticationSuccessHandler.php b/Handler/AuthenticationSuccessHandler.php index 11e8325..c57c68a 100644 --- a/Handler/AuthenticationSuccessHandler.php +++ b/Handler/AuthenticationSuccessHandler.php @@ -37,13 +37,13 @@ class AuthenticationSuccessHandler extends DefaultAuthenticationSuccessHandler { /** * Default options */ - protected array $defaultOptions = [ - 'always_use_default_target_path' => false, - 'default_target_path' => '/', - 'login_path' => '/login', - 'target_path_parameter' => '_target_path', - 'use_referer' => false, - ]; + protected array $defaultOptions = [ + 'always_use_default_target_path' => false, + 'default_target_path' => '/', + 'login_path' => '/login', + 'target_path_parameter' => '_target_path', + 'use_referer' => false, + ]; /** * {@inheritdoc} @@ -53,12 +53,12 @@ class AuthenticationSuccessHandler extends DefaultAuthenticationSuccessHandler { $this->setOptions($options); } - /** + /** + * {@inheritdoc} + * * This is called when an interactive authentication attempt succeeds * * In use_referer case it will handle correctly when login_path is a route name or path - * - * {@inheritdoc} */ public function onAuthenticationSuccess(Request $request, TokenInterface $token): Response { //Set login route