The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Smolder::Control::Public::Auth

DESCRIPTION

Controller module for all auth related activities.

RUN MODES

login

Show the login form. Uses the Public/Auth/login.tmpl template.

process_login

Process the incoming data from the login mode. If validation passes the appropriate mod_auth_tkt token is set and the user is either redirected back to where they were trying to when they were redirected to the login mode, or taken to the developer home page.

forgot_pw

Show the Forgot-my-password form. Uses the Public/Auth/forgot_pw.tmpl template.

process_forgot_pw

Process the incoming data from the forgot_pw mode. If it passes validation then reset the developer's password to a new random string and then send an email with the new password (using the Email/forgot_pw.tmpl template) to that developer. If successful, then return to the forgot_pw mode.

logout

Logout the user by unsetting the mod_auth_tkt cookie and then redirecting them (so that the cookie is sent to the browser) to the show_logout mode.

show_logout

Show the logout screen after a successful logout. Uses the Public/Auth/show_logout.tmpl template.

timeout

Show the timeout screen if mod_auth_tkt determines that their ticket is valid but expired. Uses the Public/Auth/timeout.tmpl template.

forbidden

Show the forbidden screen if mod_auth_tkt determines that their ticket is either missing or invalid. Uses the Public/Auth/forbidden.tmpl template.