Add notification on Service Token expiration

This commit is contained in:
carlosmonastyrski
2025-04-14 18:31:06 -03:00
parent bdab16f64b
commit 80352acc8a
8 changed files with 116 additions and 8 deletions
+2 -1
View File
@@ -43,7 +43,8 @@ export enum SmtpTemplates {
SecretRequestCompleted = "secretRequestCompleted.handlebars",
SecretRotationFailed = "secretRotationFailed.handlebars",
ProjectAccessRequest = "projectAccess.handlebars",
OrgAdminProjectDirectAccess = "orgAdminProjectGrantAccess.handlebars"
OrgAdminProjectDirectAccess = "orgAdminProjectGrantAccess.handlebars",
ServiceTokenExpired = "serviceTokenExpired.handlebars"
}
export enum SmtpHost {
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Service Token Expired</title>
</head>
<body>
<h2>Your Service Token has expired</h2>
<p>Your service token <strong>"{{tokenName}}"</strong> has expired.</p>
<p>This token was being used to access the project "{{projectName}}". To ensure continued service, please create a new token as soon as possible.</p>
<a href="{{url}}">Create New Token</a>
{{emailFooter}}
</body>
</html>