"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const Mail_1 = __importDefault(require("@corejam/notify/dist/server/Mail"));
/**
 * Verification email with link to activate a users account
 */
class RegisterVerifyMail extends Mail_1.default {
    constructor(user) {
        super(user.email, "Verify your email");
        this.user = user;
    }
    getBody() {
        const link = `/register/verify?email=${this.user.email}&token=${this.user.verifyHash}`;
        return `
            In order to activate you account please click on the following link:
             <a href="${link}">${link}</a>
        `;
    }
}
exports.default = RegisterVerifyMail;
