💫 Drop useless hash fallback, as we always have a system.security.default_hash set

This commit is contained in:
Flavio Copes
2016-01-24 21:15:07 +01:00
parent c8a5e846c1
commit a1a75954ae

View File

@@ -88,7 +88,7 @@ class User extends Data
// the result
Authentication::verify(
$password,
self::getGrav()['config']->get('system.security.default_hash', '$2y$10$kwsyMVwM8/7j0K/6LHT.g.Fs49xOCTp2b8hh/S5.dPJuJcJB6T.UK')
self::getGrav()['config']->get('system.security.default_hash')
);
return false;
} else {