magento / community-features

Magento Features Development is an Initiative to Allows Community Memebers Join to Development of Magento Features
46 stars 18 forks source link

passwordMinCharacterSets not including international characters #60

Open magento-engcom-team opened 6 years ago

magento-engcom-team commented 6 years ago

passwordMinCharacterSets not including international (not latin) characters in /lib/web/mage/validation.js

Preconditions

Magento 2.1.7, PHP 7.0.20 & MySQL 10.1.24-MariaDB

Steps to reproduce

  1. Go to adminpanel - stores - configuration - customers - customers configuration - Number of Required Character Classes and set 3.
  2. Go to /customer/account/create/
  3. Enter the password, using Lower not latin letters, Upper not latin letters and Digits.

Expected result

  1. Registration succesfull

Actual result

  1. Error "Minimum of different classes of characters in password is 3. Classes of characters: Lower Case, Upper Case, Digits, Special Characters."

Original Report: https://github.com/magento/magento2/issues/10095 by @yumicom