Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Success and Failure Handlers not Called #18

Open
ananda-agrawal opened this issue Feb 12, 2016 · 0 comments
Open

Success and Failure Handlers not Called #18

ananda-agrawal opened this issue Feb 12, 2016 · 0 comments

Comments

@ananda-agrawal
Copy link

How to make the Success and Failure Handlers get called upon authentication success/failure.
I setup according to the example provided but the specified handlers have no effect ..

` $app['security.authentication.success_handler.secured'] = function () use ($app) {
return new Authentication\AuthenticationSuccessHandler($app['security.http_utils'], []);
};

    $app['security.authentication.failure_handler.secured'] = function () use ($app) {
        return new Authentication\AuthenticationFailureHandler($app['request'], $app['security.http_utils'], []);
    };`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant