From 5bebb09d1d4aa2bb17ef644e7368bafc34976825 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=A0=D1=83=D0=B4?= =?UTF-8?q?=D0=B5=D0=BD=D0=B5=D1=86?= <andrey.rudenets@gmail.com> Date: Mon, 1 Dec 2014 21:46:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D1=83=D0=B6=D0=BD=D0=BE=20=D0=B1=D0=BE?= =?UTF-8?q?=D0=BB=D1=8C=D1=88=D0=B5=20=D0=B2=D0=BD=D0=B8=D0=BC=D0=B0=D1=82?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BD=D0=BE=D1=81=D1=82=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ~dev_rating/modules/account/classes/Kohana/Account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/~dev_rating/modules/account/classes/Kohana/Account.php b/~dev_rating/modules/account/classes/Kohana/Account.php index 2100a3726..7e20c66ea 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']; } -- GitLab