I get this error for password recovery. I checked the PasswordRecoveryConfirm.cshtml and it has the token script.
@model PasswordRecoveryConfirmModel
@{
Layout = "~/Views/Shared/_ColumnsOne.cshtml";
//title
Html.AddTitleParts(T("PageTitle.PasswordRecovery").Text);
//page class
Html.AppendPageCssClassParts("html-password-recovery-page");
}
@using Nop.Web.Models.Customer;
<div class="page password-recovery-page">
<div class="page-title">
<h1>@T("Account.PasswordRecovery")</h1>
</div>
<div class="page-body">
@if (!String.IsNullOrEmpty(Model.Result))
{
<div class="result">
@Model.Result
</div>
}
@if (!Model.DisablePasswordChanging)
{
using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="fieldset">
<div class="form-fields">
<div class="inputs">
@Html.LabelFor(model => model.NewPassword, new { }, ":")
@Html.EditorFor(model => model.NewPassword)
@Html.RequiredHint()
@Html.ValidationMessageFor(model => model.NewPassword)
</div>
<div class="inputs">
@Html.LabelFor(model => model.ConfirmNewPassword, new { }, ":")
@Html.EditorFor(model => model.ConfirmNewPassword)
@Html.RequiredHint()
@Html.ValidationMessageFor(model => model.ConfirmNewPassword)
</div>
</div>
</div>
<div class="buttons">
<input type="submit" name="set-password" class="button-1 new-password-button" value="@T("Account.PasswordRecovery.ChangePasswordButton")" />
</div>
}
}
</div>
</div>
Any Help is appreciated. Thanks!