summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJulio A. Leyva Osorio <tony931023@gmail.com>2021-07-04 16:27:21 -0400
committerGitHub <noreply@github.com>2021-07-04 22:27:21 +0200
commita61967692ada6c005f0195f3c0d2d1233c6d9cee (patch)
treee016165b03f8f0f6d0cfd5defe539fecd793b9d9 /docs
parentb6befb47a11aba60665b2af9c08601ce8e6b1bb7 (diff)
downloadwiki-a61967692ada6c005f0195f3c0d2d1233c6d9cee.tar.gz
wiki-a61967692ada6c005f0195f3c0d2d1233c6d9cee.tar.bz2
wiki-a61967692ada6c005f0195f3c0d2d1233c6d9cee.zip
chore: account.md (#571)
Diffstat (limited to 'docs')
-rw-r--r--docs/account.md56
1 files changed, 28 insertions, 28 deletions
diff --git a/docs/account.md b/docs/account.md
index cc6ac1a..00e14cf 100644
--- a/docs/account.md
+++ b/docs/account.md
@@ -6,39 +6,39 @@
**Structure**
-| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
-| --------------------- | ------------ | ---------- | --- | ---- | ----------------- | -------------- | ---------- |
-| [id][1] | INT | UNSIGNED | PRI | NO | | AUTO_INCREMENT | Identifier |
-| [username][2] | VARCHAR(32) | | UNI | NO | | | |
-| [salt][3] | BINARY(32) | | | NO | | | |
-| [verifier][4] | BINARY(32) | | | NO | | | |
-| [session_key][5] | BINARY(40) | | | YES | | | |
-| [token_key][6] | VARCHAR(100) | | | NO | | | |
-| [email][7] | VARCHAR(255) | | | NO | | | |
-| [reg_mail][8] | VARCHAR(255) | | | NO | | | |
-| [joindate][9] | TIMESTAMP | | | NO | CURRENT_TIMESTAMP | | |
-| [last_ip][10] | VARCHAR(15) | | | NO | 127.0.0.1 | | |
-| [last_attempt_ip][11] | VARCHAR(15) | | | NO | 127.0.0.1 | | |
-| [failed_logins][12] | INT | UNSIGNED | | NO | 0 | | |
-| [locked][13] | TINYINT | UNSIGNED | | NO | 0 | | |
-| [lock_country][14] | VARCHAR(2) | | | NO | 0 | | |
-| [last_login][15] | TIMESTAMP | | | YES | NULL | | |
-| [online][16] | INT | UNSIGNED | | NO | 0 | | |
-| [expansion][17] | TINYINT | UNSIGNED | | NO | 2 | | |
-| [mutetime][18] | BIGINT | SIGNED | | NO | 0 | | |
-| [mutereason][19] | VARCHAR(255) | | | NO | | | |
-| [muteby][20] | VARCHAR(50) | | | NO | | | |
-| [locale][21] | TINYINT | UNSIGNED | | NO | 0 | | |
-| [os][22] | VARCHAR(3) | | | NO | | | |
-| [recruiter][23] | INT | UNSIGNED | | NO | 0 | | |
-| [totaltime][24] | INT | UNSIGNED | | NO | 0 | | |
+| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
+| --------------------- | ------------- | ---------- | --- | ---- | ----------------- | -------------- | ---------- |
+| [id][1] | INT | UNSIGNED | PRI | NO | | AUTO_INCREMENT | Identifier |
+| [username][2] | VARCHAR(32) | SIGNED | UNI | NO | '' | | |
+| [salt][3] | BINARY(32) | SIGNED | | NO | | | |
+| [verifier][4] | BINARY(32) | SIGNED | | NO | | | |
+| [session_key][5] | BINARY(40) | SIGNED | | YES | | | |
+| [totp_secret][6] | VARBINARY(100)| SIGNED | | YES | | | |
+| [email][7] | VARCHAR(255) | SIGNED | | NO | '' | | |
+| [reg_mail][8] | VARCHAR(255) | SIGNED | | NO | '' | | |
+| [joindate][9] | TIMESTAMP | SIGNED | | NO | CURRENT_TIMESTAMP | | |
+| [last_ip][10] | VARCHAR(15) | SIGNED | | NO | 127.0.0.1 | | |
+| [last_attempt_ip][11] | VARCHAR(15) | SIGNED | | NO | 127.0.0.1 | | |
+| [failed_logins][12] | INT | UNSIGNED | | NO | 0 | | |
+| [locked][13] | TINYINT | UNSIGNED | | NO | 0 | | |
+| [lock_country][14] | VARCHAR(2) | SIGNED | | NO | 00 | | |
+| [last_login][15] | TIMESTAMP | SIGNED | | YES | | | |
+| [online][16] | INT | UNSIGNED | | NO | 0 | | |
+| [expansion][17] | TINYINT | UNSIGNED | | NO | 2 | | |
+| [mutetime][18] | BIGINT | SIGNED | | NO | 0 | | |
+| [mutereason][19] | VARCHAR(255) | SIGNED | | NO | '' | | |
+| [muteby][20] | VARCHAR(50) | SIGNED | | NO | '' | | |
+| [locale][21] | TINYINT | UNSIGNED | | NO | 0 | | |
+| [os][22] | VARCHAR(3) | SIGNED | | NO | '' | | |
+| [recruiter][23] | INT | UNSIGNED | | NO | 0 | | |
+| [totaltime][24] | INT | UNSIGNED | | NO | 0 | | |
[1]: #id
[2]: #username
[3]: #salt
[4]: #verifier
[5]: #session_key
-[6]: #token_key
+[6]: #totp_secret
[7]: #email
[8]: #reg_mail
[9]: #joindate
@@ -112,7 +112,7 @@ Make sure the PHP GMP extension is loaded! Uncomment `extension=gmp` in your php
`field-no-description|5`
-### token_key
+### totp_secret
The authenticator key.