diff --git a/html/modules/user/kernel/LegacypageFunctions.class.php b/html/modules/user/kernel/LegacypageFunctions.class.php
index f30ec1725..1121ef64f 100644
--- a/html/modules/user/kernel/LegacypageFunctions.class.php
+++ b/html/modules/user/kernel/LegacypageFunctions.class.php
@@ -268,7 +268,7 @@ public static function checkLogin(&$xoopsUser)
$user->set('pass', User_Utils::encryptPassword($pass), true);
if (!$handler->insert($user, true)) {
// set $passwordNeedsRehash
- self::$passwordNeedsRehash = ture;
+ self::$passwordNeedsRehash = true;
}
}