[Catalyst] Catalyst::Plugin::Authentication::logout() true?

apv apv at sedition.com
Sun Jul 22 21:37:05 GMT 2007


Should Catalyst::Plugin::Authentication::logout() return something  
true upon success?

That way you can write code like

$c->logout() || $c->log->error("...");

Maybe reorder somehow to return the values from this expression?

         delete @{ $c->session }{qw/__user __user_realm/};

-Ashley




More information about the Catalyst mailing list