Nexusoft / nexus-mobile

The Mobile interface for the Nexus Blockchain.
http://crypto.nexus.io
5 stars 2 forks source link

On Login screen, YOP is not checking for restrictions just string #16

Closed Cybermage83 closed 1 year ago

Cybermage83 commented 3 years ago

username must be a minimum of 2 characters NOTE : password must be a minimum of 8 characters NOTE : pin must be a minimum of 4 character

this is from api

Cybermage83 commented 3 years ago

validationSchema={yup.object().shape({ username: yup.string().required('Required!'), password: yup.string().required('Required!'), pin: yup.string().required('Required!'), rememberMe: yup.bool(), keepLoggedIn: yup.bool(), })}

https://github.com/Nexusoft/nexus-mobile/blob/master/src/App/UnauthenticatedBase/LoginScreen.js