SMS Notifications
After an admin creates a User, I want to send the login credentials such as user-name and password to the user's phone number through SMS instead of email. How can I implement this?
2 Replies
I believe sending passwords directly is not a secure method for providing credentials to users. Maybe you could implement a password feature like laravel password reset works
https://laravel.com/docs/11.x/passwords
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
As above, just send a long life password reset link to allow them to set a password. Or if you insist on sending the password via text, ensure it enforces a change on login.
You would just use after() on the create page.