package core // Common settings placeholder tokens const ( EmailPlaceholderAppName string = "{APP_NAME}" EmailPlaceholderAppURL string = "{APP_URL}" EmailPlaceholderToken string = "{TOKEN}" EmailPlaceholderOTP string = "{OTP}" EmailPlaceholderOTPId string = "{OTP_ID}" ) var defaultVerificationTemplate = EmailTemplate{ Subject: "Verify your " + EmailPlaceholderAppName + " email", Body: `

Hello,

Thank you for joining us at ` + EmailPlaceholderAppName + `.

Click on the button below to verify your email address.

Verify

Thanks,
` + EmailPlaceholderAppName + ` team

`, } var defaultResetPasswordTemplate = EmailTemplate{ Subject: "Reset your " + EmailPlaceholderAppName + " password", Body: `

Hello,

Click on the button below to reset your password.

Reset password

If you didn't ask to reset your password, you can ignore this email.

Thanks,
` + EmailPlaceholderAppName + ` team

`, } var defaultConfirmEmailChangeTemplate = EmailTemplate{ Subject: "Confirm your " + EmailPlaceholderAppName + " new email address", Body: `

Hello,

Click on the button below to confirm your new email address.

Confirm new email

If you didn't ask to change your email address, you can ignore this email.

Thanks,
` + EmailPlaceholderAppName + ` team

`, } var defaultOTPTemplate = EmailTemplate{ Subject: "OTP for " + EmailPlaceholderAppName, Body: `

Hello,

Your one-time password is: ` + EmailPlaceholderOTP + `

If you didn't ask for the one-time password, you can ignore this email.

Thanks,
` + EmailPlaceholderAppName + ` team

`, } var defaultAuthAlertTemplate = EmailTemplate{ Subject: "Login from a new location", Body: `

Hello,

We noticed a login to your ` + EmailPlaceholderAppName + ` account from a new location.

If this was you, you may disregard this email.

If this wasn't you, you should immediately change your ` + EmailPlaceholderAppName + ` account password to revoke access from all other locations.

Thanks,
` + EmailPlaceholderAppName + ` team

`, }