Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

_ExternalAuthentication.Errors.cshtml

@using Nop.Core.Http.Extensions
@using Nop.Services.Authentication

@{

    var session = Context.Session;

    var errors = await session.GetAsync>(NopAuthenticationDefaults.ExternalAuthenticationErrorsSessionKey);

    if (errors != null)
        session.Remove(NopAuthenticationDefaults.ExternalAuthenticationErrorsSessionKey);
}

@if (errors != null && errors.Count > 0)
{
    
    @foreach (var error in errors) {
  • @error
  • }
}