Commit 839bce2b authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

Merge branch 'patch-1' into 'testing'

Update loginuserpass.twig, sharpen admin auth hack

See merge request !56
parents f3c799cb dd4a9040
Pipeline #1340 passed with stage
in 4 seconds
......@@ -16,7 +16,7 @@
<form method="post">
<h2 class="sr-only">Login Form</h2>
<div class="illustration"><img src="/img/M4_LAB_LOGO.png" width="130"></div>
{%- if 'admin' in attribute(queryParams, "AuthState") -%}
{%- if 'AuthId=admin' in attribute(queryParams, "AuthState") -%}
<div class="form-group"><input id="username" class="form-control" type="text" name="username" placeholder="Administrator"></div>
{%- else -%}
<div class="form-group"><input id="username" class="form-control" type="email" name="username" placeholder="E-Mail-Adresse"></div>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment