Giusto per sicurezza, hai controllato che l'hash generato sia effettivamente aggiornato ?
Stampati l'hash e vedi se sul db corrisponde