summaryrefslogtreecommitdiff
path: root/docs/account.md
diff options
context:
space:
mode:
authorBarbz <BarbzYHOOL@users.noreply.github.com>2020-10-05 22:53:21 +0200
committerGitHub <noreply@github.com>2020-10-05 22:53:21 +0200
commit2340d5b964cdee01222cf0f1dee229f2ed3728bc (patch)
treee20da68899cbfa7ec212310391767fcdb2fc9bb5 /docs/account.md
parente5b94610af6a765a2d038e1aecc9465bf12c0a9d (diff)
downloadwiki-2340d5b964cdee01222cf0f1dee229f2ed3728bc.tar.gz
wiki-2340d5b964cdee01222cf0f1dee229f2ed3728bc.tar.bz2
wiki-2340d5b964cdee01222cf0f1dee229f2ed3728bc.zip
fix: Add extra info on passwords/usernames in account table (#277)
Diffstat (limited to 'docs/account.md')
-rw-r--r--docs/account.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/account.md b/docs/account.md
index d4d068c..e6aaa4f 100644
--- a/docs/account.md
+++ b/docs/account.md
@@ -68,9 +68,9 @@ The unique account ID.
### username
-The account user name.
+The user's account name.
-**NOTE**: username are limited to 20 characters
+**NOTE**: usernames are limited to 20 characters and have no character restriction.
### sha\_pass\_hash
@@ -81,7 +81,7 @@ 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
+**NOTE**: Passwords are limited to 16 characters and have no character restriction.
### sessionkey
@@ -90,7 +90,7 @@ This field contains the encrypted password. The encryption is SHA1 and is in the
### v
### s
-v and s fields are used by server authentication system since the client uses a SRP6 protocol to handle authentication
+`v` and `s` fields are used by server authentication system since the client uses a SRP6 protocol to handle authentication
If you change the password these fields must be set to 0 allowing the server to regenerate them at login.
The .account password command already does it, but you must take care about it on external registration systems (web client)