diff --git a/api/src/Session.php b/api/src/Session.php index dc85be50e1..7ecdf1a907 100644 --- a/api/src/Session.php +++ b/api/src/Session.php @@ -806,7 +806,7 @@ class Session } else { - throw new \Exception(implode(', $errors'), self::CD_SECOND_FACTOR_REQUIRED); + throw new \Exception(implode(', ', $errors), self::CD_SECOND_FACTOR_REQUIRED); } } }