"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"));
/**
 * Email for a password reset request with the token
 */
class PasswordResetRequest extends Mail_1.default {
    constructor(user, token) {
        super(user.email, "Password reset request");
        this.token = token;
    }
    getBody() {
        return `
            A password reset has been requested for your account.
            Please click here to continue: <a href="/login/reset?reset=${this.token}"></a>
        `;
    }
}
exports.default = PasswordResetRequest;
