From 6f8732b12eee95cc0097a1bf55b0885147284c6f Mon Sep 17 00:00:00 2001 From: Lkeme <19500576+lkeme@users.noreply.github.com> Date: Thu, 25 Jun 2020 22:50:39 +0800 Subject: [PATCH] [update] Login --- src/plugin/Login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin/Login.php b/src/plugin/Login.php index b11ee1c..c4a0681 100644 --- a/src/plugin/Login.php +++ b/src/plugin/Login.php @@ -456,7 +456,7 @@ class Login private static function saveConfig(string $key, string $value, $hide = true) { Config::put($key, $value); - Log::info(" > {$key}: " . ($hide ? substr_replace($value, '********', mb_strlen($value / 2), 8) : $value)); + Log::info(" > {$key}: " . ($hide ? substr_replace($value, '********', mb_strlen($value) / 2, 8) : $value)); } /**