Reference

Jifty::Plugin::Authentication::Password::Dispatcher(3pm)

password plugin dispatcher

NAME

Jifty::Plugin::Authentication::Password::Dispatcher - password plugin dispatcher

DESCRIPTION

All the dispatcher rules jifty needs to support "" in Jifty::Authentication::Password

RULES

"before logout"

Logout and return home.

See Jifty::Plugin::Authentication::Password::Action::Logout.

"before *"

Setup the navigation menu for login or logout.

"on qr/^(?:signup|lost_password)$/"

Redirect to home if logged.

Request a password reminder or signup for an account otherwise.

"on login"

Redirect to home if logged.

Show the login form otherwise.

"before reset_lost_password"

Request a password reset.

"before passwordreminder"

Request a new password reminder to be sent by email.

See Jifty::Plugin::Authentication::Password::Action::SendPasswordReminder.

"before signup"

Sign up for an account.

See Jifty::Plugin::Authentication::Password::Action::Signup.

"before login"

Login to your account.

See Jifty::Plugin::Authentication::Password::Action::Login.

not_logged_in_nav

Adds the login and signup links to the navigation menu.

logged_in_nav

Adds the logout link to the navigation menu.

SEE ALSO

Jifty::Plugin::Authentication::Password, Jifty::Plugin::Authentication::Password::View

COPYRIGHT

Jifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself.

History