Skip to content
Snippets Groups Projects
Commit abbb268e authored by Peter Rotich's avatar Peter Rotich
Browse files

make lint tool happy

parent 1a4f1df5
No related branches found
No related tags found
No related merge requests found
...@@ -58,6 +58,7 @@ Class CSRF { ...@@ -58,6 +58,7 @@ Class CSRF {
if(!$this->csrf['token'] || $this->isExpired()) { if(!$this->csrf['token'] || $this->isExpired()) {
$len = $len>8?$len:32; $len = $len>8?$len:32;
$r = '';
for ($i = 0; $i <= $len; $i++) for ($i = 0; $i <= $len; $i++)
$r .= chr(mt_rand(0, 255)); $r .= chr(mt_rand(0, 255));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment