increase the api key length

This commit is contained in:
Nabeel Shahzad 2017-12-31 12:53:37 -06:00
parent 2c53f091b9
commit 2458c67880

View File

@ -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;
} }