Users: Do not constantly reload the page about the user's ban

Closes #440
This commit is contained in:
Maxim Leshchenko 2022-01-28 18:11:58 +02:00
parent f53058d40b
commit dcd18d266f
No known key found for this signature in database
GPG key ID: BB9C44A8733FBEEE

View file

@ -223,6 +223,7 @@ abstract class OpenVKPresenter extends SimplePresenter
$this->getTemplatingEngine()->render(__DIR__ . "/templates/@banned.xml", [
"thisUser" => $this->user->identity,
"csrfToken" => $GLOBALS["csrfToken"],
"isTimezoned" => Session::i()->get("_timezoneOffset"),
]);
exit;
}