mirror of https://github.com/zulip/zulip.git
Include confirmation key in context object.
This way our templates can reference the confirmation key later. (imported from commit 4d57e1309386f2236829b6fdf4e4ad43c5b125c8)
This commit is contained in:
parent
b801b50c26
commit
5531f188c7
|
@ -28,6 +28,7 @@ def confirm(request, confirmation_key):
|
||||||
'object': obj,
|
'object': obj,
|
||||||
'confirmed': confirmed,
|
'confirmed': confirmed,
|
||||||
'days': getattr(settings, 'EMAIL_CONFIRMATION_DAYS', 10),
|
'days': getattr(settings, 'EMAIL_CONFIRMATION_DAYS', 10),
|
||||||
|
'key': confirmation_key,
|
||||||
}
|
}
|
||||||
templates = [
|
templates = [
|
||||||
'confirmation/confirm.html',
|
'confirmation/confirm.html',
|
||||||
|
|
Loading…
Reference in New Issue