MD Auth - Fix forgotten backtick

pull/1/head
Swissky 2018-12-24 13:41:37 +01:00
parent 9cc21a25f8
commit 89fb56f617
1 changed files with 0 additions and 1 deletions

View File

@ -56,7 +56,6 @@ The `md5` function is called with the second argument set to `true`, meaning we
<?php
setcookie('signed_errors', md5(APP_SALT.((string) ($errors+1))), time()+86400);
?>
```
{% endhighlight %}
We can do a single failed attempt in order to get a cookie containing the md5(SALT+"1"), based on the comment in the code we know the SALT is between 0000000-9999999 (7-digit APP_SALT).