+ parent::__construct($l10n, $baseUrl, $args, $logger, $profiler, $response, $server, $parameters);
+
+ $this->page = $page;
+ $this->session = $session;
+
+ if ($this->session->getSubManagedUserId()) {
+ throw new ForbiddenException($this->t('Permission denied.'));
+ }
+ }
+
+ protected function content(array $request = []): string
+ {
+ Nav::setSelected('settings');
+
+ if (!$this->session->getLocalUserId()) {
+ $this->session->set('return_path', $this->args->getCommand());
+ $this->baseUrl->redirect('login');
+ }