From 1626a73aced979e37765a494a7fa084a6feca26c Mon Sep 17 00:00:00 2001 From: Yehonal Date: Sun, 21 Jun 2020 15:57:59 +0200 Subject: chore: limits for username and password --- docs/account.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') 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` -- cgit