---
name: "Jifty::Plugin::Authentication::Password::Action::Login"
section: "3pm"
platform: "linux"
package: "libjifty-perl"
version: "1.10518+dfsg-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Jifty::Plugin::Authentication::Password::Action::Login"
---

# Jifty::Plugin::Authentication::Password::Action::Login(3pm)

process login with password

## NAME

Jifty::Plugin::Authentication::Password::Action::Login - process login with password

### new

### arguments

Return the email and password form fields

### validate\_email ADDRESS

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.

### validate\_username ADDRESS

there's a user in the database with it.

Overridden from Jifty::Action::Record.

### validate\_password PASSWORD

Makes sure that the password submitted actually exists, unless there's a token and a hashed password.

Overridden from Jifty::Action::Record.

### validate\_token TOKEN

Make sure we issued the token within the last 30 seconds, otherwise time out the request.

### take\_action

Actually check the user's password. If it's right, log them in. Otherwise, throw an error.

### load\_user

Load up and return a YourApp::User object for the user trying to log in

### login\_message $user\_object

Returns the "hi, you're logged in message"
