From: Tomas Doran Date: Wed, 14 Dec 2011 06:56:44 +0000 (+0000) Subject: Change to actual Detach extension X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=82134370c51f0660efe7079688ef501a0c8de5b8;p=catagits%2FCatalyst-Plugin-Authentication.git Change to actual Detach extension --- diff --git a/lib/Catalyst/Authentication/Realm/Progressive.pm b/lib/Catalyst/Authentication/Realm/Progressive.pm index f5fada8..0a9bbd9 100644 --- a/lib/Catalyst/Authentication/Realm/Progressive.pm +++ b/lib/Catalyst/Authentication/Realm/Progressive.pm @@ -146,7 +146,7 @@ sub authenticate { $auth_obj = $realm->authenticate( $c, $auth ); } catch { - if ( blessed($_) && $_->isa('Catalyst::Exception::Detach') ) { + if ( $_ eq $Catalyst::DETACH ) { $should_detach = 1; } else {