mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-22 16:47:52 +00:00
no message
This commit is contained in:
parent
125ce036cd
commit
707f1dd6cb
@ -314,7 +314,7 @@ class SystemController extends AbstractController
|
|||||||
//
|
//
|
||||||
if (env("SYSTEM_SETTING") == 'disabled') {
|
if (env("SYSTEM_SETTING") == 'disabled') {
|
||||||
foreach ($setting as $key => $item) {
|
foreach ($setting as $key => $item) {
|
||||||
if (str_contains($key, '_key')) {
|
if (str_contains($key, '_key') && $item) {
|
||||||
$setting[$key] = substr($item, 0, 4) . str_repeat('*', strlen($item) - 8) . substr($item, -4);
|
$setting[$key] = substr($item, 0, 4) . str_repeat('*', strlen($item) - 8) . substr($item, -4);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user