feat: company-scoped emails and audit log, company on admin password emails
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
1 parent
b7d9da8ec0
commit
00ce47bc49
13 files changed
+435
-25
No files matched your search
+1
@@ -927,6 +927,7 @@ public class UserController {
|
||||
recipientslist.add(new Recipient(null, emailAddress, RecipientType.R, RecipientStatusType.Y));
|
||||
Email email = new Email();
|
||||
email.setSubject("Reset Admin Password");
|
||||
email.setCompanyId(user.getCompanyId());
|
||||
email.setBody("<p>Hi "+username+",</p><p>Your temporary password: "+ randPassword+"</p>");
|
||||
email.setDatetime(LocalDateTime.now());
|
||||
email.setRecipients(recipientslist);
|
||||
|
||||
Reference in new issue
Block a user