projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improved entropy for report file urls.
[fa-stable.git]
/
includes
/
ui
/
ui_controls.inc
diff --git
a/includes/ui/ui_controls.inc
b/includes/ui/ui_controls.inc
index 515cf999322cd0adabcdc3169b49e0086c692b87..0f9be33eb5d1363f188ab622a38644a3927142fc 100644
(file)
--- a/
includes/ui/ui_controls.inc
+++ b/
includes/ui/ui_controls.inc
@@
-66,7
+66,7
@@
function end_form($breaks=0)
{
global $Ajax, $hidden_fields;
- $_SESSION['csrf_token'] =
hash('sha256', uniqid(mt_rand(), true)
);
+ $_SESSION['csrf_token'] =
random_id(
);
if ($breaks)
br($breaks);
hidden('_focus');