diff --git a/~dev_rating/modules/account/classes/Kohana/Account.php b/~dev_rating/modules/account/classes/Kohana/Account.php index 2100a3726117f5bed267b0ff4f4c64730ebebf51..7e20c66ea6f6a6a90afc773b33b8bfe11cc6e437 100644 --- a/~dev_rating/modules/account/classes/Kohana/Account.php +++ b/~dev_rating/modules/account/classes/Kohana/Account.php @@ -91,7 +91,7 @@ class Kohana_Account { private function checkTokenLifetime($creationDate) { $config = Kohana::$config->load('security.securityPolicy'); - return time() - $creationDate > $config['recoveryToken']['lifetime']; + return (time() - $creationDate) > $config['recoveryToken']['lifetime']; }