-
Notifications
You must be signed in to change notification settings - Fork 338
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
Redirect: can't add route params + backward compatibility #476
Comments
+1 |
Currently working on implementing a callback so the user can decide all by himself what to do. |
Ok thank you ! |
Please take a look at #480 |
I released v. 1.2.0 of ZfcUser which makes it possible to change the redirect callback. Check #487 for more info. |
I don't know if this comment will reopen the issue, but I still don't understand how to pass route param with the new redirect strategy (with a route name) ? |
@Colmea you can define a credential callable. Here's a pseudo-code of how it works: 'factories' => [
'credential_callable' => function ($sl) {
$router = $sl->get('router');
return function () use ($router) {
return $router->assemble('my-route-name');
};
}
], |
Hey,
I have some issues with the new change made in the redirect feature (toURL->toRoute):
The text was updated successfully, but these errors were encountered: