authform: add disassociation url in the default mapper

This commit is contained in:
Jérôme Schneider 2014-12-01 12:00:38 +01:00
parent 1bb12cd2ea
commit 9c0d7d498c
1 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,10 @@ a password_field key if you want to encode a password.")
'path': r'%s$' % self.urls.get('logout_url', '/mandaye/logout'),
'on_response': [{'auth': 'slo'}]
},
{
'path': r'%s$' % self.urls.get('disassociate_url', '/mandaye/disassociate'),
'on_response': [{'auth': 'disassociate'}]
}
]
if config.a2_auto_connection:
mapping.append({