diff --git a/modules/core/templates/loginuserpass.php b/modules/core/templates/loginuserpass.php
index 389a111829163296f4f83f5d1ddc8a60d53b99db..b1e627adc76c7b21eb33020ef21baf7fb4776eb5 100644
--- a/modules/core/templates/loginuserpass.php
+++ b/modules/core/templates/loginuserpass.php
@@ -55,7 +55,7 @@ if ($this->data['errorcode'] !== null) {
 } ?> value="<?php echo htmlspecialchars($this->data['username']); ?>"/>
                 </td>
             <?php
-            if ($this->data['rememberUsernameEnabled'] && !$this->data['forcedUsername']) {
+            if ($this->data['rememberUsernameEnabled'] && !$this->data['forceUsername']) {
                 // display the "remember my username" checkbox
             ?>
                 <td>