From ed599c5253dc25fc4c45abdbbb76f13fcfb92853 Mon Sep 17 00:00:00 2001 From: Thomas Peterson Date: Thu, 25 Jun 2026 21:08:31 +0200 Subject: [PATCH] systemeinstellung --- .../.playwright-mcp/console-2026-06-25T19-00-59-187Z.log | 8 ++++++++ .../.playwright-mcp/console-2026-06-25T19-08-19-443Z.log | 2 ++ .../DashboardBundle/Controller/TwoFactorController.php | 4 ++-- .../Resources/views/security/2fa.html.twig | 4 ++-- .../SchebTwoFactorBundle/Authentication/form.html.twig | 4 ++-- 5 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 src/new/.playwright-mcp/console-2026-06-25T19-08-19-443Z.log diff --git a/src/new/.playwright-mcp/console-2026-06-25T19-00-59-187Z.log b/src/new/.playwright-mcp/console-2026-06-25T19-00-59-187Z.log index 5490bc80e..7893becd1 100644 --- a/src/new/.playwright-mcp/console-2026-06-25T19-00-59-187Z.log +++ b/src/new/.playwright-mcp/console-2026-06-25T19-00-59-187Z.log @@ -1,3 +1,11 @@ [ 4056ms] [LOG] details: {application: X} @ http://type-dev-tp.local/apps/assets/vendor/@hotwired/stimulus/stimulus.index-S4zNcea.js:6 [ 4057ms] [LOG] details: {application: X} @ http://type-dev-tp.local/apps/assets/vendor/@hotwired/stimulus/stimulus.index-S4zNcea.js:6 [ 4070ms] [VERBOSE] [DOM] Input elements should have autocomplete attributes (suggested: "current-password"): (More info: https://goo.gl/9p2vKq) %o @ http://type-dev-tp.local/apps/backend/system/settings/settings/index:0 +[ 419098ms] [LOG] details: {application: X} @ http://type-dev-tp.local/apps/assets/vendor/@hotwired/stimulus/stimulus.index-S4zNcea.js:6 +[ 419099ms] [LOG] details: {application: X} @ http://type-dev-tp.local/apps/assets/vendor/@hotwired/stimulus/stimulus.index-S4zNcea.js:6 +[ 425073ms] [LOG] details: {application: X} @ http://type-dev-tp.local/apps/assets/vendor/@hotwired/stimulus/stimulus.index-S4zNcea.js:6 +[ 425076ms] [LOG] details: {application: X, identifier: symfony--ux-chartjs--chart, controller: t, element: canvas} @ http://type-dev-tp.local/apps/assets/vendor/@hotwired/stimulus/stimulus.index-S4zNcea.js:6 +[ 425169ms] [LOG] details: {application: X, identifier: symfony--ux-chartjs--chart, controller: t, element: canvas} @ http://type-dev-tp.local/apps/assets/vendor/@hotwired/stimulus/stimulus.index-S4zNcea.js:6 +[ 425170ms] [LOG] details: {application: X} @ http://type-dev-tp.local/apps/assets/vendor/@hotwired/stimulus/stimulus.index-S4zNcea.js:6 +[ 428699ms] [LOG] details: {application: X} @ http://type-dev-tp.local/apps/assets/vendor/@hotwired/stimulus/stimulus.index-S4zNcea.js:6 +[ 428699ms] [LOG] details: {application: X} @ http://type-dev-tp.local/apps/assets/vendor/@hotwired/stimulus/stimulus.index-S4zNcea.js:6 diff --git a/src/new/.playwright-mcp/console-2026-06-25T19-08-19-443Z.log b/src/new/.playwright-mcp/console-2026-06-25T19-08-19-443Z.log new file mode 100644 index 000000000..a0a3bfffc --- /dev/null +++ b/src/new/.playwright-mcp/console-2026-06-25T19-08-19-443Z.log @@ -0,0 +1,2 @@ +[ 377ms] [LOG] details: {application: X} @ http://type-dev-tp.local/apps/assets/vendor/@hotwired/stimulus/stimulus.index-S4zNcea.js:6 +[ 378ms] [LOG] details: {application: X} @ http://type-dev-tp.local/apps/assets/vendor/@hotwired/stimulus/stimulus.index-S4zNcea.js:6 diff --git a/src/new/src/PSC/Backend/DashboardBundle/Controller/TwoFactorController.php b/src/new/src/PSC/Backend/DashboardBundle/Controller/TwoFactorController.php index 081b92e27..329e7d0b4 100644 --- a/src/new/src/PSC/Backend/DashboardBundle/Controller/TwoFactorController.php +++ b/src/new/src/PSC/Backend/DashboardBundle/Controller/TwoFactorController.php @@ -131,7 +131,7 @@ class TwoFactorController extends AbstractController $this->entityManager->flush(); $request->getSession()->remove(self::SESSION_PENDING_SECRET); - $this->addFlash('success', 'TOTP / Authenticator-App aktiviert.'); + $this->addFlash('success', 'Authenticator-App aktiviert.'); return $this->redirectToRoute('psc_backend_2fa_settings'); } @@ -149,7 +149,7 @@ class TwoFactorController extends AbstractController $this->entityManager->flush(); $request->getSession()->remove(self::SESSION_PENDING_SECRET); - $this->addFlash('success', 'TOTP deaktiviert.'); + $this->addFlash('success', 'Authenticator-App deaktiviert.'); return $this->redirectToRoute('psc_backend_2fa_settings'); } diff --git a/src/new/src/PSC/Backend/DashboardBundle/Resources/views/security/2fa.html.twig b/src/new/src/PSC/Backend/DashboardBundle/Resources/views/security/2fa.html.twig index ea2853f22..98cade933 100644 --- a/src/new/src/PSC/Backend/DashboardBundle/Resources/views/security/2fa.html.twig +++ b/src/new/src/PSC/Backend/DashboardBundle/Resources/views/security/2fa.html.twig @@ -38,9 +38,9 @@ - {# ---------------- TOTP / Authenticator ---------------- #} + {# ---------------- Authenticator ---------------- #}
-

Authenticator-App (TOTP)

+

Authenticator-App

Zeitbasierte Codes über Google/Microsoft Authenticator o.ä.

{% if totpEnabled %} diff --git a/src/new/templates/bundles/SchebTwoFactorBundle/Authentication/form.html.twig b/src/new/templates/bundles/SchebTwoFactorBundle/Authentication/form.html.twig index 026e67d7e..2e0eaf981 100644 --- a/src/new/templates/bundles/SchebTwoFactorBundle/Authentication/form.html.twig +++ b/src/new/templates/bundles/SchebTwoFactorBundle/Authentication/form.html.twig @@ -15,14 +15,14 @@
{{ "choose_provider"|trans({}, 'SchebTwoFactorBundle') }}: {% for provider in availableTwoFactorProviders %} - {{ provider }} + {% if provider == 'email' %}E-Mail{% elseif provider == 'totp' %}Authenticator-App{% else %}{{ provider }}{% endif %} {% endfor %}
{% endif %}