From 02cf9a2be9b7a7f40fd42661df411e057d8cceff Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Thu, 14 Jul 2022 21:51:00 +0200 Subject: [PATCH] Disable the Steam icon preloading --- app/Models/TwoFAccount.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Models/TwoFAccount.php b/app/Models/TwoFAccount.php index 4007554d..887b0f62 100644 --- a/app/Models/TwoFAccount.php +++ b/app/Models/TwoFAccount.php @@ -453,7 +453,9 @@ private function enforceAsSteam() $this->digits = 5; $this->algorithm = self::SHA1; $this->period = 30; - $this->icon = $this->storeImageAsIcon('https://upload.wikimedia.org/wikipedia/commons/thumb/8/83/Steam_icon_logo.svg/langfr-320px-Steam_icon_logo.svg.png'); + // if (!$this->icon) { + // $this->icon = $this->storeImageAsIcon('https://upload.wikimedia.org/wikipedia/commons/thumb/8/83/Steam_icon_logo.svg/langfr-320px-Steam_icon_logo.svg.png'); + // } Log::info(sprintf('TwoFAccount configured as Steam account')); }