From a1a75954ae06f5707f9fcd4be862a4784d75272b Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Sun, 24 Jan 2016 21:15:07 +0100 Subject: [PATCH] :dizzy: Drop useless hash fallback, as we always have a system.security.default_hash set --- system/src/Grav/Common/User/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/Grav/Common/User/User.php b/system/src/Grav/Common/User/User.php index 663dca6c5..3728deb7f 100644 --- a/system/src/Grav/Common/User/User.php +++ b/system/src/Grav/Common/User/User.php @@ -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 {