Skip to content

Commit

Permalink
Hotfix - Doctrine Exception (#698)
Browse files Browse the repository at this point in the history
* hotfix: prevent redirect to login page when no database (triggered by wrong DoctrineException use

* hotfix: update Myddleware Release version
  • Loading branch information
stlgaits authored Mar 28, 2022
1 parent 60f361a commit e272679
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

MYDDLEWARE_VERSION=3.1.0
MYDDLEWARE_VERSION=3.1.1
APP_SECRET=Thissecretisnotsosecretchangeit
APP_ENV=prod
APP_DEBUG=false
Expand Down
2 changes: 1 addition & 1 deletion src/Controller/InstallRequirementsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use App\Repository\ConfigRepository;
use Doctrine\DBAL\ConnectionException as DoctrineConnectionException;
use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Driver\Exception as DBALException;
use Doctrine\DBAL\Driver\PDO\Exception as DoctrinePDOException;
use Doctrine\DBAL\Exception\TableNotFoundException;
use Exception;
Expand Down

0 comments on commit e272679

Please sign in to comment.