From f077cbbc25ed221107f858b4735cc3b03b371f21 Mon Sep 17 00:00:00 2001 From: Barbz Date: Sun, 3 Mar 2019 13:22:21 +0100 Subject: fix(account): Wrong quotes (#15) --- docs/account.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') 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 -- cgit