File path: dist/twist/Core/Models/User/Auth.model.php
Namespace: Twist\Core\Models\User
login
— Log the user in and generate an active session (Stores session data into the browser)
Name | Description |
---|---|
$strEmail | n/a |
$strPassword | n/a |
[$blRememberMeCookie = false] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strEmail = 'foo';
$strPassword = 'foo';
$blRememberMeCookie = false;
//Call the function login with the example vars
\Twist\Core\Models\User\Auth::login($strEmail, $strPassword, $blRememberMeCookie);