Closed 3rdvision closed 2 years ago
@joamag manual assign
This is not the best fix, let's instead propagate the next
value to the recover password page instead and then use it in the login link :)
@joamag Done!
@3rdvision schedule 15 min to go over this one https://calendly.com/joao-platforme/code-review
@joamag Simplifying to url_for('admin.recover', next = next)
works but when &next=
it adds 1 empty URL parameter when next is empty string.
@joamag I simplified by setting next to None
in case it comes as empty string. This way url_for
works as expected :smile:
@3rdvision I'm going to merge the PR and run the changes myself to speed up the process, I'll share the commit afterward
@3rdvision here it is ;) https://github.com/hivesolutions/appier_extras/commit/0be8c3c628ffa2e2197c34e666ff0c245e955784
?next=...
necessary to not lose the login flow.