You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a problem while uploading photos something was breaking, after some debuggin I found that my server is not compatible with some functions running when generating token in Component/UtilComponent.php
What I've done to fix this is change the crypto_rand_secure($min, $max) to:
public function crypto_rand_secure($min, $max)
{
return md5(uniqid(mt_rand(), true));
}
The text was updated successfully, but these errors were encountered:
Hey,
I had a problem while uploading photos something was breaking, after some debuggin I found that my server is not compatible with some functions running when generating token in Component/UtilComponent.php
What I've done to fix this is change the crypto_rand_secure($min, $max) to:
The text was updated successfully, but these errors were encountered: