@@ -43,6 +43,9 @@ class UI {
public static function endHtml() {
Theme::footer();
+ if ('POST' === V::get('REQUEST_METHOD', '', $_SERVER) && 'LOGIN' === V::get('LOGIN', '', $_POST)) {
+ echo "\n" . UI::h('script', [], "history.replaceState(null, '', window.location.href)");
+ }
echo "\n</body></html>";
}