Florian Ragwitz > CatalystX-SimpleLogin-0.01 > CatalystX::SimpleLogin::TraitFor::Controller::Login::Logout

Download:
CatalystX-SimpleLogin-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source   Latest Release: CatalystX-SimpleLogin-0.18

NAME ^

CatalystX::SimpleLogin::TraitFor::Controller::Login::Logout

DESCRIPTION ^

Simple controller role for logging users out. Provides a logout action (at /logout by default) which redirects the user to the homepage by default.

ACTIONS ^

logout : Chained('/') PathPart('logout') Args(0)

Calls $c->logout, then redirects to the logout uri retuned by $self->redirect_after_logout_uri.

METHODS ^

redirect_after_logout_uri

Returns the uri to redirect to after logout.

Defaults to $c->uri_for('/');

TODO ^

Make logout uri come from config

SEE ALSO ^

CatalystX::SimpleLogin::ControllerRole::Login

AUTHORS ^

See CatalystX::SimpleLogin for authors.

LICENSE ^

See CatalystX::SimpleLogin for license.

syntax highlighting: