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

Add Jinja2 template support for verification response (and SMS verification) #406

Open
Azrenbeth opened this issue Sep 20, 2021 · 0 comments

Comments

@Azrenbeth
Copy link
Contributor

Currently Jinja templates are only possible for emails, not for the HTML verification_response.
(See the templates in res/ for examples of the currently supported templates)

It would be nice to support a Jinja version for consistency and to create an example template
that renders the same file as the non-jinja version and store it in res/.

This would require altering the render_GET() method in the EmailValidateCodeServlet class.

It might also be nice to add Jinja templating support for the SMS verification texts - although these
will probably be less useful.

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