Releases: VirtoCommerce/vc-storefront
Releases · VirtoCommerce/vc-storefront
6.37.0
6.36.0
6.34.0
6.33.0
6.32.0
🐞 Bug fixes
- Multiple actions matched.
- (Multiple actions matched. The following actions matched route data and had all constraints satisfied AssetController.HandleStaticFiles and CommonController.InternalRedirect for HEAD and root.)
- Multiple actions matched. The following actions matched route data and had all constraints satisfied AssetController.HandleStaticFiles and CommonController.InternalRedirect for HEAD and root.
6.30.0
6.29.0
6.28.0
6.27.0
🐞 Bug fixes
- (An blocked user received the error code email_verification_is_required. Extend IsUserLockedByRequiredEmailVerificationSpecification with Store Setting checking. email_verification_is_required returns if ```cs _user.Contact.Status == "Locked" && !_user.EmailConfirmed && store.Settings.GetSettingValue("Stores.EmailVerificationEnabled", false) && store.Settings.GetSettingValue("Stores.EmailVerificationRequired", false) ```)
6.26.0
🎯 Development
- Refactored and improved error codes for the locked user. POST /account/login API.
Code | Condition | Default Message |
---|---|---|
username_or_emailIs_required | login.UserName == null && login.Email == null | Please provide a username or email |
login_failed | user == null | Login attempt failed. Please check your credentials. |
email_verification_is_required | loginResult.IsLockedOut && user.Status == "Locked" && !user.EmailConfirmed; | Email verification required. Please verify your email address. |
user_is_temporary_locked_out | loginResult.IsLockedOut && user.LockoutEndDateUtc != DateTime.MaxValue.ToUniversalTime() | Your account has been temporarily locked. Please try again after some time. |
user_is_locked_out | loginResult.IsLockedOut | Your account has been locked. Please contact support for assistance. |
login_failed | !loginResult.Succeeded | Login attempt failed. Please check your credentials. |
user_cannot_login_in_store | NOT var result = _user.IsAdministrator || _user.StoreId.IsNullOrEmpty(); if (!result) { result = obj.TrustedGroups.Concat(new[] { obj.Id }).Contains(_user.StoreId); } return result; | Access denied. You cannot sign in to the current store |
password_expired | user.PasswordExpired | Your password has been expired and must be changed. |
user_not_found | user.Contact == null | User not found. Please ensure you've entered the correct information. |