diff --git a/mymodule/themes/fancytheme/core/loginuserpass.php b/mymodule/themes/fancytheme/core/loginuserpass.php
index 0d6898f19165592049b71384f29db8ee96d1ea51..fc97c9b46669c1cdb7b37c84e269f88af60ce202 100644
--- a/mymodule/themes/fancytheme/core/loginuserpass.php
+++ b/mymodule/themes/fancytheme/core/loginuserpass.php
@@ -54,13 +54,16 @@ if ($this->data['errorcode'] !== null) {
                 <h2 class="sr-only">Login Form</h2>
                 <div class="illustration"><img src="/img/M4_LAB_LOGO.png" width="130"></div>
 		<?php
-			#hacky workaround: if admin is contained in AuthState string, don't dispaly email login field
-			if (strpos(_GET('AuthState'), 'admin') !== false){
-                		<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>
-			}
-		?>
+                        if (strpos($_GET['AuthState'], 'admin') !== false){
+                        ?>
+                                <div class="form-group"><input id="username" class="form-control" type="text" name="username" placeho$
+                        <?php
+                        }else{
+                        ?>
+                                <div class="form-group"><input id="username" class="form-control" type="email" name="username" placeh$
+                        <?php
+                        }
+                ?>
                 <div class="form-group"><input id="password" class="form-control" type="password" name="password" placeholder="Passwort"></div><a class="text-right forgot" href="/account/forgotPwd">Passwort vergessen?</a>
                 <div class="form-group"><button class="btn btn-primary btn-block" type="submit" style="background-color: #8a348b;"><strong>Anmelden</strong></button><a class="btn btn-primary btn-block" type="" style="background-color: rgb(234,234,234);color: rgb(0,0,0);" href="/account/registration"><strong>Neues Benutzerkonto anlegen</strong></a></div>
                 <input type="hidden" id="processing_trans" value="<?php echo $this->t('{login:processing}'); ?>" />