sample_rails_tailwind/app/controllers
songtianlun 812073b148 fix: handle user activation email errors
- Wrap the activation email sending in a begin-rescue block
- Log error messages if sending fails
- Provide user feedback with an error message and render the new user form again

This change improves the user experience by handling potential
errors during the user activation email process. If an error
occurs, it logs the issue and informs the user to try again,
preventing confusion and enhancing the robustness of the
registration flow.
2025-01-08 17:46:07 +08:00
..
concerns init sample-app 2024-12-29 17:12:54 +08:00
account_activations_controller.rb fix: correct user activation and password reset logic 2025-01-08 10:14:36 +08:00
application_controller.rb add static pages 2024-12-29 17:22:48 +08:00
password_resets_controller.rb feat: add password reset functionality 2025-01-08 11:44:42 +08:00
sessions_controller.rb feat: add account activation feature 2025-01-06 18:38:39 +08:00
static_pages_controller.rb finish 2024-12-30 00:09:54 +08:00
users_controller.rb fix: handle user activation email errors 2025-01-08 17:46:07 +08:00