mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat: notify about created user account (#14010)
This commit is contained in:
@ -0,0 +1 @@
|
||||
DELETE FROM notification_templates WHERE id = '4e19c0ac-94e1-4532-9515-d1801aa283b2';
|
@ -0,0 +1,9 @@
|
||||
INSERT INTO notification_templates (id, name, title_template, body_template, "group", actions)
|
||||
VALUES ('4e19c0ac-94e1-4532-9515-d1801aa283b2', 'User account created', E'User account "{{.Labels.created_account_name}}" created',
|
||||
E'Hi {{.UserName}},\n\New user account **{{.Labels.created_account_name}}** has been created.',
|
||||
'Workspace Events', '[
|
||||
{
|
||||
"label": "View accounts",
|
||||
"url": "{{ base_url }}/deployment/users?filter=status%3Aactive"
|
||||
}
|
||||
]'::jsonb);
|
Reference in New Issue
Block a user