Skip to content

Commit df46b27

Browse files
committed
Pass along the request into the render.
1 parent 4779a89 commit df46b27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kotti/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def email_set_password(user, request,
133133
url=url,
134134
)
135135

136-
text = render(template_name, variables)
136+
text = render(template_name, variables, request)
137137
subject, htmlbody = text.strip().split('\n', 1)
138138
subject = subject.replace('Subject:', '', 1).strip()
139139
html2text = HTML2Text()

0 commit comments

Comments
 (0)