After a migration to the new hosting, users can't login with correct data. All DataBase and auth settings were left the same (except new DB host, DB user name and password)
Here is the settings of auth.php:
return array(
'driver' => 'orm',
'hash_method' => 'sha256',
'hash_key' => '<my hash key>',
'lifetime' => Date::HOUR * 2,
'session_type' => Session::$default,
'session_key' => 'auth_user',
);
Password values in table "users" are the same as i'm getting with the following code:
hash_hmac('sha256', 'password', '<my hash key>');
But Auth::instance()->logged_in('<any advanced user role>') returns FALSE everytime.
So what is wrong and what did i miss during migration?
PS: Kohana version is 3.2.2, all old cache files are cleared. Table "roles_users" contains "login" records for all users too.
Thanx in advance!