dereuromark/tools — pull request #81 by dereuromark (2014-07-07 18:13:29+00:00)
Title: Refactor Passwordable for 2.6+ or PHP5.5+

Huge cleanup.
Finally, the ugly workaround

return (bool)$this->Auth->identify($request, $response);

goes overboard.
It directly uses PasswordHasher classes now.

It now also supports password_hash() from PHP5.5+ out of the box.
The only change needed would be

'passwordHasher' => 'Tools.Modern'

I verified that the old blowfish way works when upgrading to this new hasher.