Ignore:
Timestamp:
May 10, 2022, 10:09:23 PM (2 years ago)
Author:
chronos
Message:
  • Fixed: Wrong float to int conversion.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/User/UserModel.php

    r922 r924  
    4040  function GetSalt(): string
    4141  {
    42     mt_srand(microtime(true) * 100000 + memory_get_usage(true));
     42    mt_srand(intval(microtime(true)) * 100000 + memory_get_usage(true));
    4343    return sha1(uniqid(mt_rand(), true));
    4444  }
Note: See TracChangeset for help on using the changeset viewer.