summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/account.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/account.md b/docs/account.md
index 82202eb..f35e0bb 100644
--- a/docs/account.md
+++ b/docs/account.md
@@ -330,8 +330,8 @@ This field contains the encrypted password. The encryption is SHA1 and is in the
| Language | Code |
|----------|---------------------------------------------------------------------|
-| SQL | SELECT SHA1(CONCAT(UPPER(\`username\`), ':', UPPER(<pass>))); |
-| PHP | sha1(strtoupper($username).':'.strtoupper($password)); |
+| SQL | UPPER(SHA1(CONCAT(UPPER('myusername'), ':', UPPER('mypass')))); |
+| PHP | strtoupper(sha1(strtoupper($username).':'.strtoupper($password))); |
### sessionkey