- Last login
- 2024-11-12
- Reg time
- 2024-3-28
- Read permission
- 10
- Digests
- 0
- Posts
- 3
|
Edited by JazmynParker at 2024-11-1 17:52
I used Str::random() to generate a random password—usually something like Str::random(12) for 12 characters. If you’re storing it in the database, just make sure to hash it so it’s secure. When the user enters the password, you can check it against the hashed one in the database.Sometimes, I use an online password generator to make sure the password is really random and strong. It’s a quick way to get tough passwords without a lot of extra steps. So, I think that you should check it out. Or, if you want to skip generating passwords entirely, sending a password reset link lets users set their own securely, which can save a step. |
|