aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Auth.php')
-rw-r--r--app/Models/Auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Auth.php b/app/Models/Auth.php
index 04bd4291f..7259025b3 100644
--- a/app/Models/Auth.php
+++ b/app/Models/Auth.php
@@ -215,7 +215,7 @@ class FreshRSS_Auth {
$csrf = Minz_Session::param('csrf');
if ($csrf == '') {
$salt = FreshRSS_Context::$system_conf->salt;
- $csrf = sha1($salt . uniqid(mt_rand(), true));
+ $csrf = sha1($salt . uniqid('' . mt_rand(), true));
Minz_Session::_param('csrf', $csrf);
}
return $csrf;