Skip to content
Snippets Groups Projects
Unverified Commit 636aafde authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2955673 by msankhala, jenlampton: Text 'logged in as admin' in...

Issue #2955673 by msankhala, jenlampton: Text 'logged in as admin' in update.php message is ambiguous
parent 1cd610b1
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -182,7 +182,7 @@ protected function handleAccess(Request $request) { ...@@ -182,7 +182,7 @@ protected function handleAccess(Request $request) {
$db_update_access = $this->getContainer()->get('access_check.db_update'); $db_update_access = $this->getContainer()->get('access_check.db_update');
if (!Settings::get('update_free_access', FALSE) && !$db_update_access->access($account)->isAllowed()) { if (!Settings::get('update_free_access', FALSE) && !$db_update_access->access($account)->isAllowed()) {
throw new AccessDeniedHttpException('In order to run update.php you need to either be logged in as admin or have set $settings[\'update_free_access\'] in your settings.php.'); throw new AccessDeniedHttpException('In order to run update.php you need to either have "Administer software updates" permission or have set $settings[\'update_free_access\'] in your settings.php.');
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment