Smolder::Control::Public::Auth
Controller module for all auth related activities.
Show the login form. Uses the Public/Auth/login.tmpl template.
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.
login
mod_auth_tkt
Show the Forgot-my-password form. Uses the Public/Auth/forgot_pw.tmpl template.
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.
forgot_pw
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.
Show the timeout screen if mod_auth_tkt determines that their ticket is valid but expired. Uses the Public/Auth/timeout.tmpl template.
Show the forbidden screen if mod_auth_tkt determines that their ticket is either missing or invalid. Uses the Public/Auth/forbidden.tmpl template.
To install Smolder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Smolder
CPAN shell
perl -MCPAN -e shell install Smolder
For more information on module installation, please visit the detailed CPAN module installation guide.