summaryrefslogtreecommitdiffstats
path: root/core/authorize.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/authorize.php')
-rw-r--r--core/authorize.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/authorize.php b/core/authorize.php
index dbab02f..d033b7e 100644
--- a/core/authorize.php
+++ b/core/authorize.php
@@ -51,6 +51,7 @@ const MAINTENANCE_MODE = 'update';
* TRUE if the current user can run authorize.php, and FALSE if not.
*/
function authorize_access_allowed() {
+ \Drupal::service('session_manager')->start();
return Settings::get('allow_authorize_operations', TRUE) && \Drupal::currentUser()->hasPermission('administer software updates');
}