feat: feature flag for oauth2 login via MyE&P

This commit is contained in:
Björn Fromme
2026-08-12 10:35:08 +02:00
parent 74ebefcf65
commit a5c98025d0
3 changed files with 647 additions and 41 deletions
+5 -3
View File
@@ -46,9 +46,11 @@
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
</form>
<div class="pt-4 flex space-x-4">
<a href="{{ path('app_myep_auth_init') }}" class="text-sm underline">
Login mit MyE&amp;P
</a>
{% if feature('myep_login') %}
<a href="{{ path('app_myep_auth_init') }}" class="text-sm underline">
Login mit MyE&amp;P
</a>
{% endif %}
<a href="{{ path('app_security_password_reset') }}" class="text-sm underline">
Passwort vergessen?
</a>