projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cebbede
)
[FIX] auth_signup: when POSTing signup data, there is always an error in qcontext...
author
Christophe Simonis
<chs@openerp.com>
Tue, 11 Feb 2014 14:02:55 +0000
(15:02 +0100)
committer
Christophe Simonis
<chs@openerp.com>
Tue, 11 Feb 2014 14:02:55 +0000
(15:02 +0100)
bzr revid: chs@openerp.com-
20140211140255
-mv84m6fb0sqkflm5
addons/auth_signup/controllers/main.py
patch
|
blob
|
history
diff --git
a/addons/auth_signup/controllers/main.py
b/addons/auth_signup/controllers/main.py
index
ca3ee9e
..
ba04453
100644
(file)
--- a/
addons/auth_signup/controllers/main.py
+++ b/
addons/auth_signup/controllers/main.py
@@
-62,7
+62,7
@@
class AuthSignup(openerp.addons.web.controllers.main.Home):
}
qcontext.update(config)
- if 'error' in qcontext or mode not in ('reset', 'signup') or (not token and not config[mode]):
+ if 'error' in request.params or mode not in ('reset', 'signup') or (not token and not config[mode]):
if isinstance(super_response, LazyResponse):
super_response.params['values'].update(config)
return super_response