mirror of https://github.com/zulip/zulip.git
Call url correctly from password_reset_email.txt.
In Jinja2 the url function is called differently. We can't give keyword arguments directly instead we need to pass them through kwargs argument.
This commit is contained in:
parent
ff4e92dc3d
commit
29859c191d
|
@ -1,7 +1,7 @@
|
|||
Psst. Word on the street is that you forgot your password, {{ email}}.
|
||||
|
||||
It's all good. Follow the link below and we'll take care of the rest:
|
||||
<{{ protocol}}://{{ domain }}{{ url('django.contrib.auth.views.password_reset_confirm', uidb64=uid, token=token) }}>
|
||||
<{{ protocol}}://{{ domain }}{{ url('django.contrib.auth.views.password_reset_confirm', kwargs=dict(uidb64=uid, token=token)) }}>
|
||||
|
||||
Thanks,
|
||||
Your friends at Zulip HQ
|
||||
|
|
Loading…
Reference in New Issue