Skip to content

Commit

Permalink
asa
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltel committed Feb 2, 2012
1 parent 99b17c7 commit 662cf29
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions core/models/class.User.php
Expand Up @@ -178,6 +178,19 @@ static function Authorize($permission = 'LOGGED_IN')
return false;
}

/**
* we log all logins in the user_logins table
* @param int $users_id
*/
private static function LogLogin($id)
{
$sql[] = "INSERT INTO user_logins (users_fid, users_password, users_first_name, users_last_name, users_active, users_ad_user, users_notes)
values('$email', ' )";

return new Query($sql);
}


}

// initialize upon load
Expand Down
1 change: 1 addition & 0 deletions sites/forms/tpl/common/tpl
@@ -0,0 +1 @@
../../../core/tpl

0 comments on commit 662cf29

Please sign in to comment.