Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 431 Bytes

THE_PLAN.md

File metadata and controls

38 lines (27 loc) · 431 Bytes

Initialization code

<?php

$auth_config = new \Foolz\Auth\Config\Local();

$auth_config->setConnection(DC::forge());
$auth_config->setUsersTable(DC::p('users'));
$auth_config->setAutoLoginTable(DC::p('autologin'));

\Foolz\Auth\Auth::instantiate($auth_config);



AUTOLOGIN TABLE

id
user_id
hash_light
hash
created
ip
agent

USERS TABLE

user_id
json

LOCAL USERS TABLE

id
user_id
username
email
password
created
activated