etn-ccis / blui-react-auth-shared

Shared logic package for @brightlayer-ui/react-auth-workflow and @brightlayer-ui/react-native-auth-workflow
BSD 3-Clause "New" or "Revised" License
0 stars 4 forks source link

Add underscore to special character regex in default password requirements array #113

Open rahulvageriya opened 1 year ago

rahulvageriya commented 1 year ago

When creating a password for user and using 1 small, 1 Upper, 1 special character and password is between 8-16 characters, application is not allowing to proceed next even though the password is in correct format. underscore

huayunh commented 1 year ago

@rahulvageriya are you able to use passwordRequirements to define your own set of password requirements, as mentioned in @brightlayer-ui/react-auth-shared's readme file?

(If you don't know about it yet, "react-auth-shared" is a package shared between react authentication workflows and React Native authentication workflows)