Skip to content

Conversation

@SebastiaanKloos
Copy link
Collaborator

Summary

This PR adds functionality to automatically create users with generated passwords and email notifications:

  • Automatic password generation: When creating a user through Filament, a secure random password is automatically generated
  • Email notifications: New users receive a welcome email with their login credentials
  • Multi-language support: Email templates available in English and Dutch
  • Queue support: Email sending is queued for better performance
  • Comprehensive test coverage: Both feature and unit tests included

Changes

  • Added UserCreated mailable class with queue support
  • Implemented password generation logic in Filament CreateUser page
  • Created bilingual email template (EN/NL)
  • Added create button to Users list page
  • Full test coverage for the user creation workflow

🤖 Generated with Claude Code

SebastiaanKloos and others added 3 commits November 26, 2025 14:07
Create UserCreated mailable that sends welcome emails to newly created
users with their temporary password and login credentials. Email is
queued for asynchronous processing and supports both English and Dutch
translations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Add password generation functionality to CreateUser page that generates
a secure 16-character password when creating new users. After creation,
automatically sends welcome email with login credentials. Also add create
action to ListUsers page header.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Add feature tests for user creation including permission checks, password
generation validation, and email sending verification. Add unit tests for
UserCreated mailable to verify proper configuration, queuing, and content
rendering with translations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@Cannonb4ll Cannonb4ll merged commit db60ca2 into ploi:main Nov 26, 2025
4 checks passed
@SebastiaanKloos SebastiaanKloos deleted the create-user branch November 26, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants