mirror of
https://github.com/friendica/friendica
synced 2024-11-14 03:42:53 +00:00
33 lines
1.3 KiB
Markdown
33 lines
1.3 KiB
Markdown
Table 2fa_trusted_browser
|
|
===========
|
|
|
|
Two-factor authentication trusted browsers
|
|
|
|
Fields
|
|
------
|
|
|
|
| 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 | |
|
|
|
|
Indexes
|
|
------------
|
|
|
|
| Name | Fields |
|
|
| ------- | ----------- |
|
|
| PRIMARY | cookie_hash |
|
|
| uid | uid |
|
|
|
|
Foreign Keys
|
|
------------
|
|
|
|
| Field | Target Table | Target Field |
|
|
|-------|--------------|--------------|
|
|
| uid | [user](help/database/db_user) | uid |
|
|
|
|
Return to [database documentation](help/database)
|