summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarbz <BarbzYHOOL@users.noreply.github.com>2019-03-03 13:22:21 +0100
committerFrancesco Borzì <borzifrancesco@gmail.com>2019-03-03 13:22:21 +0100
commitf077cbbc25ed221107f858b4735cc3b03b371f21 (patch)
tree035a82fdc4ddd06f7c0ced7fbbe3545d8f5fb0d1
parent469ab8a58dd8ded64427db6ce945ea7ded7f3b22 (diff)
downloadwiki-f077cbbc25ed221107f858b4735cc3b03b371f21.tar.gz
wiki-f077cbbc25ed221107f858b4735cc3b03b371f21.tar.bz2
wiki-f077cbbc25ed221107f858b4735cc3b03b371f21.zip
fix(account): Wrong quotes (#15)
-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(&lt;pass&gt;))); |
-| PHP | sha1(strtoupper($username).':'.strtoupper($password)); |
+| SQL | UPPER(SHA1(CONCAT(UPPER('myusername'), ':', UPPER('mypass')))); |
+| PHP | strtoupper(sha1(strtoupper($username).':'.strtoupper($password))); |
### sessionkey