feat: set preferred role on login via get parameter

This commit is contained in:
Björn Fromme
2024-02-14 15:56:38 +01:00
parent 2cb4fa1933
commit f32cfcd9f2
5 changed files with 27 additions and 15 deletions
+3
View File
@@ -32,6 +32,9 @@
Login
</button>
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
{% if role is not null %}
<input type="hidden" name="_role" value="{{ role }}">
{% endif %}
</form>
<div class="pt-4">
<a href="{{ path('app_security_password_reset') }}" class="text-sm underline">