systemeinstellung
This commit is contained in:
parent
3513efd7b3
commit
ed599c5253
@ -1,3 +1,11 @@
|
|||||||
[ 4056ms] [LOG] details: {application: X} @ http://type-dev-tp.local/apps/assets/vendor/@hotwired/stimulus/stimulus.index-S4zNcea.js:6
|
[ 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
|
[ 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
|
[ 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
|
||||||
|
|||||||
@ -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
|
||||||
@ -131,7 +131,7 @@ class TwoFactorController extends AbstractController
|
|||||||
$this->entityManager->flush();
|
$this->entityManager->flush();
|
||||||
$request->getSession()->remove(self::SESSION_PENDING_SECRET);
|
$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');
|
return $this->redirectToRoute('psc_backend_2fa_settings');
|
||||||
}
|
}
|
||||||
@ -149,7 +149,7 @@ class TwoFactorController extends AbstractController
|
|||||||
$this->entityManager->flush();
|
$this->entityManager->flush();
|
||||||
$request->getSession()->remove(self::SESSION_PENDING_SECRET);
|
$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');
|
return $this->redirectToRoute('psc_backend_2fa_settings');
|
||||||
}
|
}
|
||||||
|
|||||||
@ -38,9 +38,9 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{# ---------------- TOTP / Authenticator ---------------- #}
|
{# ---------------- Authenticator ---------------- #}
|
||||||
<div class="rounded-sm border bg-white px-5 py-4 shadow-lg dark:border-strokedark dark:bg-boxdark">
|
<div class="rounded-sm border bg-white px-5 py-4 shadow-lg dark:border-strokedark dark:bg-boxdark">
|
||||||
<h2 class="text-lg font-medium mb-1">Authenticator-App (TOTP)</h2>
|
<h2 class="text-lg font-medium mb-1">Authenticator-App</h2>
|
||||||
<p class="text-sm text-gray-500 mb-4">Zeitbasierte Codes über Google/Microsoft Authenticator o.ä.</p>
|
<p class="text-sm text-gray-500 mb-4">Zeitbasierte Codes über Google/Microsoft Authenticator o.ä.</p>
|
||||||
|
|
||||||
{% if totpEnabled %}
|
{% if totpEnabled %}
|
||||||
|
|||||||
@ -15,14 +15,14 @@
|
|||||||
<div class="text-sm text-gray-600">
|
<div class="text-sm text-gray-600">
|
||||||
{{ "choose_provider"|trans({}, 'SchebTwoFactorBundle') }}:
|
{{ "choose_provider"|trans({}, 'SchebTwoFactorBundle') }}:
|
||||||
{% for provider in availableTwoFactorProviders %}
|
{% for provider in availableTwoFactorProviders %}
|
||||||
<a class="text-psc-500 hover:underline mr-2" href="{{ path('2fa_login', {'preferProvider': provider}) }}">{{ provider }}</a>
|
<a class="text-psc-500 hover:underline mr-2" href="{{ path('2fa_login', {'preferProvider': provider}) }}">{% if provider == 'email' %}E-Mail{% elseif provider == 'totp' %}Authenticator-App{% else %}{{ provider }}{% endif %}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<form method="post" action="{{ checkPathUrl ? checkPathUrl : path(checkPathRoute) }}">
|
<form method="post" action="{{ checkPathUrl ? checkPathUrl : path(checkPathRoute) }}">
|
||||||
<label class="text-sm font-medium leading-4 text-gray-700" for="_auth_code">
|
<label class="text-sm font-medium leading-4 text-gray-700" for="_auth_code">
|
||||||
{{ "auth_code"|trans({}, 'SchebTwoFactorBundle') }} ({{ twoFactorProvider }})
|
{{ "auth_code"|trans({}, 'SchebTwoFactorBundle') }}{% if twoFactorProvider == 'email' %} (E-Mail){% elseif twoFactorProvider == 'totp' %} (Authenticator-App){% endif %}
|
||||||
</label>
|
</label>
|
||||||
<input id="_auth_code" type="text" name="{{ authCodeParameterName }}"
|
<input id="_auth_code" type="text" name="{{ authCodeParameterName }}"
|
||||||
inputmode="numeric" autocomplete="one-time-code" autofocus
|
inputmode="numeric" autocomplete="one-time-code" autofocus
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user