diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2020-06-21 15:57:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-21 15:57:59 +0200 |
| commit | 1626a73aced979e37765a494a7fa084a6feca26c (patch) | |
| tree | 4af98db1e06ae9b015302826445259a13ef406b8 /docs | |
| parent | bbc51d44d4932632b95acd790533163b39e2a7f5 (diff) | |
| download | wiki-1626a73aced979e37765a494a7fa084a6feca26c.tar.gz wiki-1626a73aced979e37765a494a7fa084a6feca26c.tar.bz2 wiki-1626a73aced979e37765a494a7fa084a6feca26c.zip | |
chore: limits for username and password
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/account.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/account.md b/docs/account.md index 7344f92..d5ed39f 100644 --- a/docs/account.md +++ b/docs/account.md @@ -325,6 +325,8 @@ The unique account ID. The account user name. +**NOTE**: username are limited to 20 characters + ### sha\_pass\_hash This field contains the encrypted password. The encryption is SHA1 and is in the following format: username:password. The SQL to create the password (or to compare with the current hash) is: @@ -334,6 +336,8 @@ This field contains the encrypted password. The encryption is SHA1 and is in the | SQL | UPPER(SHA1(CONCAT(UPPER('myusername'), ':', UPPER('mypass')))); | | PHP | strtoupper(sha1(strtoupper($username).':'.strtoupper($password))); | +**NOTE**: Passwords are limited to 16 characters + ### sessionkey `field-no-description|5` |
