From: David Kamholz Date: Fri, 2 Dec 2005 02:04:57 +0000 (+0000) Subject: C::P::Authentication: X-Git-Tag: v0.03~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=351e2a8262d7bbfb795f072652c66819887a17b5;p=catagits%2FCatalyst-Plugin-Authentication.git C::P::Authentication: - add NEXT to logout so it can be overriden regardless of plugin loading order C::P::Session::PerUser: - clear _user_session on logout - change RETAINMENT_PRECEDENT to RIGHT_PRECEDENT for sane merge behavior (will be config-able) --- diff --git a/lib/Catalyst/Plugin/Authentication.pm b/lib/Catalyst/Plugin/Authentication.pm index 48e894b..d30f2b0 100644 --- a/lib/Catalyst/Plugin/Authentication.pm +++ b/lib/Catalyst/Plugin/Authentication.pm @@ -78,6 +78,8 @@ sub logout { { delete @{ $c->session }{qw/__user __user_store/}; } + + $c->NEXT::logout(@_); } sub get_user {