Skip to content
New issue

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

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

Already on GitHub? # to your account

[FEATURE] Make redirect url more configurable #19

Closed
Idleworks opened this issue Jun 7, 2019 · 1 comment
Closed

[FEATURE] Make redirect url more configurable #19

Idleworks opened this issue Jun 7, 2019 · 1 comment

Comments

@Idleworks
Copy link

Currently it is only possible to set changePasswordPid via TS. Would be nice to overwrite hardcoded typolink configuration in middleware, e.g. "addQueryString" because sometimes you don't want to forward url param like "tx_felogin_pi1[forgot]=1" if user came from password-forgotten-page.

For my case I just added this little part to fit my needs here: Idleworks@f5497ff
But it would be much better to move the whole typolink configuration to typoscript like

forgotPasswordPage { parameter = addQueryString = 1 addQeuryString.exclude = id absolute = 1 }

Just a suggestion.

@derhansen
Copy link
Owner

In version 5.x (TYPO3 v13 only) of the extension, it is possible to use the ModifyRedirectUrlParameterEvent, which allows to modify all parameters and the target PID for the URL generation. With that version of the extension, the URL generation is now also performed by TYPO3 site routing instead of using TSFE->typoLink_URL

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants