Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

911 B
Raw Blame
namespace Grand.Domain.Customers;

/// <summary>
///     Represents the customer login result enumeration
/// </summary>
public enum CustomerLoginResults
{
    /// <summary>
    ///     Login successful
    /// </summary>
    Successful = 1,

    /// <summary>
    ///     Customer dies not exist (email or username)
    /// </summary>
    CustomerNotExist = 2,

    /// <summary>
    ///     Wrong password
    /// </summary>
    WrongPassword = 3,

    /// <summary>
    ///     Account have not been activated
    /// </summary>
    NotActive = 4,

    /// <summary>
    ///     Customer has been deleted
    /// </summary>
    Deleted = 5,

    /// <summary>
    ///     Customer not registered
    /// </summary>
    NotRegistered = 6,

    /// <summary>
    ///     Locked out
    /// </summary>
    LockedOut = 7,

    /// <summary>
    ///     Requires 2fa
    /// </summary>
    RequiresTwoFactor = 8
}