[FIX] pep8
parent
0db61caf20
commit
c5187e5abc
|
@ -23,6 +23,7 @@ from openerp.addons.web.controllers import main as web_main
|
|||
|
||||
old_init = WebRequest.init
|
||||
|
||||
|
||||
def init(self, params):
|
||||
old_init(self, params)
|
||||
if self.httprequest.authorization and not self.session._login:
|
||||
|
@ -41,6 +42,7 @@ WebRequest.init = init
|
|||
|
||||
old_dispatch = JsonRequest.dispatch
|
||||
|
||||
|
||||
def dispatch(self, method):
|
||||
response = old_dispatch(self, method)
|
||||
if method.im_func == web_main.Session.destroy.im_func:
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
#
|
||||
##############################################################################
|
||||
{
|
||||
"name" : "Authenticate via HTTP basic authentication",
|
||||
"version" : "1.0",
|
||||
"author" : "Therp BV",
|
||||
"name": "Authenticate via HTTP basic authentication",
|
||||
"version": "1.0",
|
||||
"author": "Therp BV",
|
||||
"complexity": "expert",
|
||||
"description": """
|
||||
In an environment where several web applications authenticate against the same
|
||||
|
@ -43,10 +43,10 @@ Funders:
|
|||
|
||||
Open2bizz software & consultancy
|
||||
""",
|
||||
"category" : "",
|
||||
"depends" : [
|
||||
"category": "",
|
||||
"depends": [
|
||||
],
|
||||
"data" : [
|
||||
"data": [
|
||||
],
|
||||
"js": [
|
||||
],
|
||||
|
@ -56,7 +56,7 @@ Open2bizz software & consultancy
|
|||
],
|
||||
"auto_install": False,
|
||||
"installable": True,
|
||||
"external_dependencies" : {
|
||||
'python' : [],
|
||||
"external_dependencies": {
|
||||
'python': [],
|
||||
},
|
||||
}
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
#
|
||||
##############################################################################
|
||||
{
|
||||
"name" : "Authenticate via HTTP basic authentication (logout helper)",
|
||||
"version" : "1.0",
|
||||
"author" : "Therp BV",
|
||||
"name": "Authenticate via HTTP basic authentication (logout helper)",
|
||||
"version": "1.0",
|
||||
"author": "Therp BV",
|
||||
"complexity": "expert",
|
||||
"description": """
|
||||
With auth_from_http_basic, the logout procedure has to be bent a bit to provide
|
||||
|
@ -35,12 +35,12 @@ Funders:
|
|||
|
||||
Open2bizz software & consultancy
|
||||
""",
|
||||
"category" : "",
|
||||
"depends" : [
|
||||
"category": "",
|
||||
"depends": [
|
||||
'web',
|
||||
'auth_from_http_basic',
|
||||
],
|
||||
"data" : [
|
||||
"data": [
|
||||
],
|
||||
"js": [
|
||||
'static/src/js/auth_from_http_basic_logout.js',
|
||||
|
@ -51,7 +51,7 @@ Open2bizz software & consultancy
|
|||
],
|
||||
"auto_install": False,
|
||||
"installable": True,
|
||||
"external_dependencies" : {
|
||||
'python' : [],
|
||||
"external_dependencies": {
|
||||
'python': [],
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue