Jifty::Plugin::Authentication::Password::Action::Login - process login with password
Return the email and password form fields
Makes sure that the email submitted is a legal email and that there's a user in the database with it.
Overridden from Jifty::Action::Record.
there's a user in the database with it.
Makes sure that the password submitted actually exists, unless there's a token and a hashed password.
Make sure we issued the token within the last 30 seconds, otherwise time out the request.
Actually check the user's password. If it's right, log them in. Otherwise, throw an error.
Load up and return a YourApp::User object for the user trying to log in
Returns the "hi, you're logged in message"
To install Jifty, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty
CPAN shell
perl -MCPAN -e shell install Jifty
For more information on module installation, please visit the detailed CPAN module installation guide.