projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c333546
)
merge trunk
author
niv-openerp
<nicolas.vanhoren@openerp.com>
Fri, 18 Oct 2013 13:45:53 +0000
(15:45 +0200)
committer
niv-openerp
<nicolas.vanhoren@openerp.com>
Fri, 18 Oct 2013 13:45:53 +0000
(15:45 +0200)
bzr revid: nicolas.vanhoren@openerp.com-
20131018134553
-a7dshmtv8yp70qzp
openerp/http.py
patch
|
blob
|
history
diff --git
a/openerp/http.py
b/openerp/http.py
index
4cdf1d1
..
7bad66c
100644
(file)
--- a/
openerp/http.py
+++ b/
openerp/http.py
@@
-189,6
+189,8
@@
class WebRequest(object):
def auth_method_user():
request.uid = request.session.uid
+ if not request.uid:
+ raise SessionExpiredException("Session expired")
def auth_method_admin():
if not request.db: