increase the api key length
This commit is contained in:
parent
2c53f091b9
commit
2458c67880
@ -17,7 +17,7 @@ class Utils extends Facade
|
|||||||
*/
|
*/
|
||||||
public static function generateApiKey()
|
public static function generateApiKey()
|
||||||
{
|
{
|
||||||
$key = substr(sha1(time() . mt_rand()), 0, 12);
|
$key = substr(sha1(time() . mt_rand()), 0, 20);
|
||||||
return $key;
|
return $key;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user