Skip to content

Commit

Permalink
[update] Login
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeme committed Jun 25, 2020
1 parent d288dc3 commit e110ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin/Login.php
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ private static function checkPhone(string $phone)
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));
}

/**
Expand Down

0 comments on commit e110ce2

Please sign in to comment.