CatalystX::SimpleLogin::TraitFor::Controller::Login::Logout
Simple controller role for logging users out. Provides a logout action (at /logout by default) which redirects the user to the homepage by default.
logout
Calls $c->logout, then redirects to the logout uri retuned by $self->redirect_after_logout_uri.
$c->logout
$self->redirect_after_logout_uri
Returns the uri to redirect to after logout.
Defaults to $c->uri_for('/');
$c->uri_for('/');
See CatalystX::SimpleLogin for authors.
See CatalystX::SimpleLogin for license.
To install CatalystX::SimpleLogin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CatalystX::SimpleLogin
CPAN shell
perl -MCPAN -e shell install CatalystX::SimpleLogin
For more information on module installation, please visit the detailed CPAN module installation guide.