From 2e5fd0b9476f88e0c8038af8b4c3764133190f69 Mon Sep 17 00:00:00 2001 From: Spitzer_Daniel Date: Mon, 28 Aug 2023 15:33:23 +0200 Subject: [PATCH] =?UTF-8?q?UserToken=20Methoden=20static=20hinzugef=C3=BCg?= =?UTF-8?q?t=20Bug=20bei=20Passwortl=C3=A4ngencheck=20gefixt=20JS=20Reques?= =?UTF-8?q?t=20URLs=20auf=20getUrl=20umgebaut=202FA=20Code=20wird=20bei=20?= =?UTF-8?q?eingabe=20nun=20=C3=BCngiltig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Layout/default/UserProfile/Form.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Layout/default/UserProfile/Form.php b/Layout/default/UserProfile/Form.php index e97e0cca6..4c96dcd37 100644 --- a/Layout/default/UserProfile/Form.php +++ b/Layout/default/UserProfile/Form.php @@ -138,7 +138,7 @@ if ($twofa == 0) { $.getJSON(" 'sendcode', 'twofactor' => $twofa]) ?>", {}).done(function (data) { }).fail(function (jqxhr, textStatus, error) { - window.location.href = "/Dashboard"; + window.location.href = ""; }); } } @@ -147,7 +147,7 @@ if ($twofa == 0) { $.getJSON(" 'sendcode', 'twofactor' => $twofa]) ?>", {}).done(function (data) { $("#new-authcode").hide(0).delay(5000).show(0); }).fail(function (jqxhr, textStatus, error) { - window.location.href = "/Dashboard"; + window.location.href = ""; }); }); });