TwistPHP Documentation

logLastLogin

File path: dist/twist/Core/Models/User/Auth.model.php
Namespace: Twist\Core\Models\User
Extends:

logLastLoginLog the time and IP address of the user upon las login, by default this is called as a PHP shutdown function for users that are logged in

Return Values

void — No return information has been documented for this function.

Example

<?php
//Call the function logLastLogin with the example vars
\Twist\Core\Models\User\Auth::logLastLogin();