Hi all,
I am having a bit of trouble understanding the default behavior of Laravel. When using Laravel Breeze to add sign-up functionality, the reset password function will send the user a password reset link like: example.com/reset-password/{token}. When looking at the password reset token database it seems they are hashes Hash::make().
From what I can tell these hashes might sometimes contain /. This is usually disallowed by Nginx because you might access hidden files like that. I recently had a problem, where one of my users got an error 403 because his hash was something like $2y$10$4pMXFD531gW4LczTG8DF4eCS9F47/.yG6q.74LP/IJAUUCoZ5x9A2
Why is this implemented that way? What should I do instead? Should I check all my hashes for /. and just regenerate until I get a good one? Am I missing something?
Any insight into this is greatly appreciated!