Commit 9d323dc
authored
Tighten security regarding token generation
replace md5(uniqid(mt_rand(), true)); with $token = bin2hex(file_get_contents('/dev/urandom', false, null, 0, 16));1 parent 15850cb commit 9d323dc
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
| 296 | + | |
296 | 297 | | |
297 | 298 | | |
298 | 299 | | |
| |||
0 commit comments