X-Git-Url: http://git.veekun.com/zzz-spline-users.git/blobdiff_plain/1e2382335ea1e52b42cdc07fd1f74b9a9b0cec39..f825759a785c954986b6344cb643aa075c3849f3:/spline/plugins/users/__init__.py diff --git a/spline/plugins/users/__init__.py b/spline/plugins/users/__init__.py index 92a825c..5173931 100644 --- a/spline/plugins/users/__init__.py +++ b/spline/plugins/users/__init__.py @@ -14,6 +14,7 @@ def add_routes_hook(map, *args, **kwargs): """Hook to inject some of our behavior into the routes configuration.""" map.connect('/accounts/login_begin', controller='accounts', action='login_begin') map.connect('/accounts/login_finish', controller='accounts', action='login_finish') + map.connect('/accounts/logout', controller='accounts', action='logout') def check_userid_hook(action, **params): """Hook to see if a user is logged in and, if so, stick a user object in