This commit is contained in:
Yuri Kuznetsov
2022-10-05 14:30:22 +03:00
parent d4376264c3
commit 77debc3875
@@ -287,6 +287,8 @@ class Sync
throw new RuntimeException("No `userNameRegularExpression` in config.");
}
$username = strtolower($username);
/** @var string $result */
$result = preg_replace("/{$regExp}/", '_', $username);