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.
Thanks,
` + EmailPlaceholderAppName + ` team
Hello,
Click on the button below to reset your password.
If you didn't ask to reset your password, you can ignore this email.
Thanks,
` + EmailPlaceholderAppName + ` team
Hello,
Click on the button below to confirm your new email address.
If you didn't ask to change your email address, you can ignore this email.
Thanks,
` + EmailPlaceholderAppName + ` team
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
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