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.
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 ?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community