Changeset 924 for trunk/Modules/User
- Timestamp:
- May 10, 2022, 10:09:23 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/UserModel.php
r922 r924 40 40 function GetSalt(): string 41 41 { 42 mt_srand( microtime(true) * 100000 + memory_get_usage(true));42 mt_srand(intval(microtime(true)) * 100000 + memory_get_usage(true)); 43 43 return sha1(uniqid(mt_rand(), true)); 44 44 }
Note:
See TracChangeset
for help on using the changeset viewer.