UNPKG
ilp-core
Version:
latest (14.0.1)
14.0.1
14.0.0
13.0.0
12.0.2
12.0.1
12.0.0
11.1.0
11.0.0
10.1.0
10.0.0
9.2.0
9.1.3
9.1.2
9.1.1
9.1.0
9.0.1
9.0.0
8.0.1
8.0.0
7.0.3
7.0.2
7.0.1
7.0.0
6.0.1
6.0.0
5.0.1
5.0.0
4.1.0
4.0.0
3.0.0
2.0.0
1.0.0
ILP core module managing ledger abstraction
github.com/interledgerjs/ilp-core
interledgerjs/ilp-core
ilp-core
/
integration-test
/
ilp-kit
/
src
/
containers
/
Settings
/
ProfileValidation.js
10 lines
(8 loc)
•
268 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import {createValidator, required, minLength}
from
'utils/validation'
;
const
PasswordValidation
=
createValidator
({
email
: [required],
password
: [required],
newPassword
: [
minLength
(
6
)],
verifyNewPassword
: [
minLength
(
6
)] }); export
default
PasswordValidation;