Laravel Community Tools by
Tighten
Laravel Versions
PHP Releases
Nova Packages
Laravel Tricks
Forge Recipes
Toggle navigation
Log in
Log in
madshadow
Joined:
12 years ago
Total tricks:
1
Last trick:
12 years ago
Submitted tricks
Eloquent
Transitioning to bcrypt password while allowing legacy password hashing
I have a legacy system that uses SHA1 for passwords as opposed to bcrypt, which is used by Laravel. For now, I need people to be able to access through both systems. I use the auth.attempt event to handle password conversion.
madshadow
12 years ago
14899
authentication
events
4.0
4.1