From 0c58c6c265360dee7b9e0a848afe909893d2ffef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Fri, 21 Nov 2014 14:51:26 +0100 Subject: [PATCH] authform: use mapper logout url in the default mapper Closes #5990 --- mandaye/auth/authform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'}] }, ]