git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into onelab
[unfold.git]
/
portal
/
django_passresetview.py
diff --git
a/portal/django_passresetview.py
b/portal/django_passresetview.py
index
a0018b0
..
6997008
100644
(file)
--- a/
portal/django_passresetview.py
+++ b/
portal/django_passresetview.py
@@
-129,9
+129,12
@@
def password_reset(request, is_admin_site=False,
if flag == 0:
messages.error(request, 'Sorry, this email is not registered.')
if flag == 0:
messages.error(request, 'Sorry, this email is not registered.')
-
return render(request, themeview.theme,
{
+
context =
{
'form': form,
'form': form,
- })
+ 'theme': themeview.theme
+ }
+ return TemplateResponse(request, themeview.template, context,current_app=current_app)
+
### end of email check in manifold ###
opts = {
### end of email check in manifold ###
opts = {