The required anti-forgery form field “__RequestVerificationToken” is not present Error in user Registration

You have [ValidateAntiForgeryToken] attribute before your action. You also should add @Html.AntiForgeryToken() in your form.

Leave a Comment