Updated Demo example with the Module Session (Authentication with Cookies) Fixed little issue with SQL query in OpenID module.
12 lines
253 B
Smarty
12 lines
253 B
Smarty
|
|
CREATE TABLE session_auth (
|
|
`uid` INTEGER PRIMARY KEY NOT NULL CHECK(`uid`>=0),
|
|
`access_token` TEXT NOT NULL,
|
|
`created` DATETIME NOT NULL,
|
|
CONSTRAINT `uid`
|
|
UNIQUE(`uid`),
|
|
CONSTRAINT `access_token`
|
|
UNIQUE(`access_token`)
|
|
);
|
|
|