fix disassociation with new mandaye version
This commit is contained in:
parent
6ba3fe2b83
commit
cc9b346cf6
|
@ -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',
|
||||
},
|
||||
}
|
||||
},
|
||||
]
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
}
|
||||
},
|
||||
]
|
||||
|
||||
|
|
Reference in New Issue