diff options
| author | Barbz <BarbzYHOOL@users.noreply.github.com> | 2019-03-03 13:22:21 +0100 |
|---|---|---|
| committer | Francesco Borzì <borzifrancesco@gmail.com> | 2019-03-03 13:22:21 +0100 |
| commit | f077cbbc25ed221107f858b4735cc3b03b371f21 (patch) | |
| tree | 035a82fdc4ddd06f7c0ced7fbbe3545d8f5fb0d1 /docs | |
| parent | 469ab8a58dd8ded64427db6ce945ea7ded7f3b22 (diff) | |
| download | wiki-f077cbbc25ed221107f858b4735cc3b03b371f21.tar.gz wiki-f077cbbc25ed221107f858b4735cc3b03b371f21.tar.bz2 wiki-f077cbbc25ed221107f858b4735cc3b03b371f21.zip | |
fix(account): Wrong quotes (#15)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/account.md | 4 |
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 |
