[BUGFIX] Bring back the maintenance information message 06/56706/7
authorFrank Naegler <frank.naegler@typo3.org>
Tue, 17 Apr 2018 10:09:17 +0000 (12:09 +0200)
committerBenni Mack <benni@typo3.org>
Mon, 9 Jul 2018 09:31:13 +0000 (11:31 +0200)
commita28f4cc10648968231dc05be629adc78eb7c686c
treec70b759915be3f261962382487e871de71e0ce72
parent80d90c6ad9c95ea61b68d22eac5dade9915e61df
[BUGFIX] Bring back the maintenance information message

In case the adminOnly flag is set, an information window is shown.
The middleware now creates a valid JSON response to show
the information window again.

Resolves: #84765
Releases: master
Change-Id: Ibe36b9d2c06b730bb2687d528d011268af4da660
Reviewed-on: https://review.typo3.org/56706
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Exception/BackendLockedException.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Middleware/LockedBackendGuard.php
typo3/sysext/backend/Resources/Private/TypeScript/LoginRefresh.ts
typo3/sysext/backend/Resources/Public/JavaScript/LoginRefresh.js