archimed: manage correctly logout

This commit is contained in:
Jérôme Schneider 2015-01-30 16:52:44 +01:00
parent 7520c3e7fd
commit 2d46449566
1 changed files with 5 additions and 1 deletions

View File

@ -51,7 +51,7 @@ mapping = [
'on_response': [{'auth': 'store_credentials_in_session'}]
},
{
'path': r'/EXPLOITATION/DEFAULT',
'path': r'/%s' % base,
'method': 'GET',
'on_response': [{
'content-types': ['text/html'],
@ -73,6 +73,10 @@ mapping = [
'method': 'GET',
'response': {'auth': 'sso',}
},
{
'path': r'/%s/DEFAULT/Ermes/Recherche/logon.svc/logoff$' % base,
'on_response': [{'auth': 'logout',}],
},
{
'path': r'%s$' % END_POINTS_PATH['single_sign_on_post'],
'method': 'POST',