diff --git a/mymodule/themes/fancytheme/core/loginuserpass.twig b/mymodule/themes/fancytheme/core/loginuserpass.twig
index d7e745fbf07fc4db054a9d5854d583c3fbebd64d..a33afa362f50e23892c502d7ae9e5bc797eb4de2 100644
--- a/mymodule/themes/fancytheme/core/loginuserpass.twig
+++ b/mymodule/themes/fancytheme/core/loginuserpass.twig
@@ -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>