Support the ongoing development of Laravel.io →
Authentication Security Architecture
Last updated 1 year ago.
0

In App/Services/Registrar.php is the code you are looking for. This is called by Laravel 5 when a new user is created. Exchange the hash algo there. Then create a new class that implements \Illuminate\Contracts\Hashing\Hasher and register it in the IoC so it get`s picked up by Laravel.

0

thank you . in the attemp user for login, how to set my algo? if i change algo in App/Services/Registrar.php laravel how would understand ?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

ahmadina ahmadina Joined 6 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.