fix disassociation with new mandaye version

This commit is contained in:
Jérôme Schneider 2015-03-10 11:11:04 +01:00
parent 6ba3fe2b83
commit cc9b346cf6
3 changed files with 3 additions and 30 deletions

View File

@ -19,6 +19,7 @@ urls = {
'connection_url': '/mandaye/sso',
'associate_url': '/mandaye/associate',
'disassociate_url': '/mandaye/disassociate',
'disassociate_next_url': '/sezhame'
}
replay_condition = lambda env, response: response.code==302
@ -132,15 +133,5 @@ mapping = [
'method': 'GET',
'response': {'auth': 'change_user',}
},
{
'path': r'/mandaye/disassociate$',
'method': 'GET',
'response': {
'auth': 'disassociate',
'values': {
'next_url': '/sezhame',
},
}
},
]

View File

@ -19,6 +19,7 @@ urls = {
'connection_url': '/mandaye/sso',
'associate_url': '/associate',
'disassociate_url': '/mandaye/disassociate',
'disassociate_next_url': '/'
}
replay_condition = lambda env, response: response.code==302
@ -97,16 +98,6 @@ mapping = [
'method': 'GET',
'response': {'auth': 'slo'}
},
{
'path': r'/mandaye/disassociate$',
'method': 'GET',
'response': {
'auth': 'disassociate',
'values': {
'next_url': '/',
},
}
},
{
'path': r'/Connect.aspx$',
'method': 'GET',

View File

@ -20,6 +20,7 @@ urls = {
'associate_url': '%s/associate' % folder_target,
'connection_url': '/mandaye/sso',
'disassociate_url': '/mandaye/disassociate',
'disassociate_next_url': '%s/deconnexion.do' % folder_target
}
replay_condition = lambda env, response: response.code==302
@ -101,15 +102,5 @@ mapping = [
}
}
},
{
'path': r'/mandaye/disassociate$',
'method': 'GET',
'response': {
'auth': 'disassociate',
'values': {
'next_url': '%s/deconnexion.do' % folder_target,
},
}
},
]