linwu %!s(int64=2) %!d(string=hai) anos
pai
achega
f140caf2c1

+ 0 - 3
vendor/thinkcmf/cmf-app/src/admin/controller/SettingController.php

@@ -111,9 +111,6 @@ class SettingController extends AdminBaseController
             cmf_set_option('site_info', $options);
 
             $cmfSettings = $this->request->param('cmf_settings/a');
-
-            $bannedUsernames                 = preg_replace("/[^0-9A-Za-z_\\x{4e00}-\\x{9fa5}-]/u", ",", $cmfSettings['banned_usernames']);
-            $cmfSettings['banned_usernames'] = $bannedUsernames;
             cmf_set_option('cmf_settings', $cmfSettings);
 
             $cdnSettings = $this->request->param('cdn_settings/a');