From 2458c6788016241a71fb09c358b6a5df28cf3910 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sun, 31 Dec 2017 12:53:37 -0600 Subject: [PATCH] increase the api key length --- app/Facades/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Facades/Utils.php b/app/Facades/Utils.php index d1892c25..b4e99e94 100644 --- a/app/Facades/Utils.php +++ b/app/Facades/Utils.php @@ -17,7 +17,7 @@ class Utils extends Facade */ public static function generateApiKey() { - $key = substr(sha1(time() . mt_rand()), 0, 12); + $key = substr(sha1(time() . mt_rand()), 0, 20); return $key; }