Authenticate and login the user. Username/password or email/password pair is required.
Supports redirectUrl param of fm:Form component as well as $_REQUEST['redirectUrl'] param to redirect the user after the successful action execution
Supports $_REQUEST['failRedirectUrl'] param to redirect the user upon actions errors
<fm:Form action="/action/v2/login" method="post"> <fm:Form_Username name="user" /> <fm:Form_Password name="password" /> <fm:Form_Custom><button type="submit">Log in</button></fm:Form_Custom> </fm:Form>
|user||Optional||String between 6 and 40 characters long|
|Required if user param is not specified||String up to 100 characters|
|password||Required||String between 6 and 40 characters long|