mirror of
https://github.com/VladPolskiy/dokuwiki.git
synced 2025-08-15 22:25:03 +00:00
coding style updates
This commit is contained in:
@ -88,7 +88,9 @@ class PassHash {
|
||||
public function gen_salt($len=32){
|
||||
$salt = '';
|
||||
$chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
|
||||
for($i=0;$i<$len;$i++) $salt .= $chars[mt_rand(0,61)];
|
||||
for($i=0; $i<$len; $i++){
|
||||
$salt .= $chars[mt_rand(0,61)];
|
||||
}
|
||||
return $salt;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user