1

Reading https://laravel.com/docs/8.x/fortify (laravel 8) I did not find with which method password is created on register? When I created user in migration with bcrypt method it does not work with

Hash::check

method?

In other words which method have I to use migration adding user?

Thanks!

mstdmstd
  • 2,195
  • 17
  • 63
  • 140
  • Pls post the code you are using for seeding the data – Donkarnash Dec 20 '20 at 13:35
  • Does this answer your question? [How to create a laravel hashed password](https://stackoverflow.com/questions/22846897/how-to-create-a-laravel-hashed-password) – miken32 Dec 20 '20 at 16:37

1 Answers1

3

It is using Hash::make($input['password']). You can find it in app\Actions\Fortify\CreateNewUser.php.

Donkarnash
  • 12,433
  • 5
  • 26
  • 37