diff options
Diffstat (limited to 'lib/MatterbridgeManager.php')
-rw-r--r-- | lib/MatterbridgeManager.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MatterbridgeManager.php b/lib/MatterbridgeManager.php index 9520c02a1..b41372305 100644 --- a/lib/MatterbridgeManager.php +++ b/lib/MatterbridgeManager.php @@ -348,8 +348,8 @@ class MatterbridgeManager { } private function generatePassword(): string { - // remove \ because it messes with Matterbridge toml file parsing - $symbols = str_replace('\\', '', ISecureRandom::CHAR_SYMBOLS); + // remove \ and " because it messes with Matterbridge toml file parsing + $symbols = str_replace(['"', '\\'], '', ISecureRandom::CHAR_SYMBOLS); // make sure we have at least one of all categories $upper = $this->random->generate(1, ISecureRandom::CHAR_UPPER); |