Skip to content
Snippets Groups Projects
Commit 5bebb09d authored by Andrew Rudenets's avatar Andrew Rudenets
Browse files

Нужно больше внимательности

parent 849e724b
Branches
Tags
No related merge requests found
......@@ -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'];
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment