diff --git a/mandaye/auth/authform.py b/mandaye/auth/authform.py index a12b4cb..2c75e94 100644 --- a/mandaye/auth/authform.py +++ b/mandaye/auth/authform.py @@ -69,7 +69,7 @@ a password_field key if you want to encode a password.") def get_default_mapping(self): mapping = [ { - 'path': r'/mandaye/logout$', + 'path': r'%s$' % self.urls.get('logout_url', '/mandaye/logout'), 'on_response': [{'auth': 'slo'}] }, ]