2021-06-13 16:33:50 -04:00
|
|
|
Table 2fa_trusted_browser
|
|
|
|
===========
|
2021-06-14 02:10:11 -04:00
|
|
|
|
2021-06-13 16:33:50 -04:00
|
|
|
Two-factor authentication trusted browsers
|
|
|
|
|
2021-06-14 04:53:37 -04:00
|
|
|
Fields
|
|
|
|
------
|
|
|
|
|
2022-06-25 08:45:33 -04:00
|
|
|
| Field | Description | Type | Null | Key | Default | Extra |
|
|
|
|
| ----------- | ---------------------------------------------- | ------------------ | ---- | --- | ------- | ----- |
|
|
|
|
| cookie_hash | Trusted cookie hash | varchar(80) | NO | PRI | NULL | |
|
|
|
|
| uid | User ID | mediumint unsigned | NO | | NULL | |
|
|
|
|
| user_agent | User agent string | text | YES | | NULL | |
|
|
|
|
| trusted | Whenever this browser should be trusted or not | boolean | NO | | 1 | |
|
|
|
|
| created | Datetime the trusted browser was recorded | datetime | NO | | NULL | |
|
|
|
|
| last_used | Datetime the trusted browser was last used | datetime | YES | | NULL | |
|
2021-06-13 16:33:50 -04:00
|
|
|
|
2021-06-14 04:53:37 -04:00
|
|
|
Indexes
|
|
|
|
------------
|
|
|
|
|
2021-06-14 08:15:10 -04:00
|
|
|
| Name | Fields |
|
|
|
|
| ------- | ----------- |
|
2021-06-14 04:53:37 -04:00
|
|
|
| PRIMARY | cookie_hash |
|
2021-06-14 08:15:10 -04:00
|
|
|
| uid | uid |
|
2021-06-14 04:53:37 -04:00
|
|
|
|
|
|
|
Foreign Keys
|
|
|
|
------------
|
|
|
|
|
|
|
|
| Field | Target Table | Target Field |
|
|
|
|
|-------|--------------|--------------|
|
|
|
|
| uid | [user](help/database/db_user) | uid |
|
|
|
|
|
2021-06-13 16:33:50 -04:00
|
|
|
Return to [database documentation](help/database)
|