Unverified Commit 636aafde authored by alexpott's avatar alexpott

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
......@@ -182,7 +182,7 @@ protected function handleAccess(Request $request) {
$db_update_access = $this->getContainer()->get('access_check.db_update');
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.');
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment