Commit Graph

4 Commits

Author SHA1 Message Date
2c7e4970f3 fix: correct account activation link parameter
- Change activation token parameter from `activation_token` to `id` in the account activation link.
- This ensures the link correctly references the user activation token for account activation.
2025-01-08 16:31:08 +08:00
299e930d1a style: format account activation email template
- Remove unnecessary line breaks in the activation link
- Clean up the formatting of the email template

This commit improves the readability of the account activation
email template by removing redundant line breaks and ensuring
consistent formatting. No functional changes were made to the
link or its behavior.
2025-01-08 14:13:45 +08:00
1f2c66300a style: format email link for consistency
- Adjust spacing in the email parameter of the link_to helper
- Ensure consistent formatting in the account activation email

This change improves the readability of the code by ensuring
consistent spacing in the parameters, which can help prevent
errors in future modifications.
2025-01-08 13:59:25 +08:00
a54ebdbf23 feat: add account activation feature
- Implement AccountActivationsController for activation logic
- Create UserMailer for sending activation emails
- Update SessionsController to handle unactivated users
- Modify UsersController to restrict access to activated users
- Add activation fields to User model and database migration
- Create views for account activation emails
- Add tests for account activation functionality
2025-01-06 18:38:39 +08:00