@{
    var token = ViewData["ResetToken"] as string;
    var email = ViewData["ResetEmail"] as string;
}

<h1>Reset Token</h1>
@if (!string.IsNullOrWhiteSpace(token) && !string.IsNullOrWhiteSpace(email))
{
    <p>Use this token for reset:</p>
    <p><strong>@token</strong></p>
    <p><a href="/account/resetpassword?email=@email&token=@token">Go to reset</a></p>
}
else
{
    <p>If the email exists, a reset token has been generated.</p>
}
