mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 02:46:46 -04:00
Create cookie-based login and authentication system
This commit is contained in:
parent
45221365b5
commit
0bc3dc3830
46 changed files with 528 additions and 195 deletions
7
config/sql/se/Sessions.sql
Normal file
7
config/sql/se/Sessions.sql
Normal file
|
@ -0,0 +1,7 @@
|
|||
CREATE TABLE `Sessions` (
|
||||
`UserId` int(10) unsigned NOT NULL,
|
||||
`Created` datetime NOT NULL,
|
||||
`SessionId` char(36) NOT NULL,
|
||||
KEY `idxUserId` (`UserId`),
|
||||
KEY `idxSessionId` (`SessionId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
Loading…
Add table
Add a link
Reference in a new issue