auth dan user profile
This commit is contained in:
@@ -14,21 +14,21 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
username: {
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'Please enter username'
|
||||
message: 'Silakan masukkan username'
|
||||
},
|
||||
stringLength: {
|
||||
min: 6,
|
||||
message: 'Username must be more than 6 characters'
|
||||
message: 'Username harus terdiri dari minimal 6 karakter'
|
||||
}
|
||||
}
|
||||
},
|
||||
email: {
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'Please enter your email'
|
||||
message: 'Silakan masukkan email Anda'
|
||||
},
|
||||
emailAddress: {
|
||||
message: 'Please enter a valid email address'
|
||||
message: 'Silakan masukkan email yang valid'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -57,22 +57,22 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
'confirm-password': {
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'Please confirm password'
|
||||
message: 'Silakan konfirmasi password Anda'
|
||||
},
|
||||
identical: {
|
||||
compare: () => formAuthentication.querySelector('[name="password"]').value,
|
||||
message: 'The password and its confirmation do not match'
|
||||
message: 'Password tidak cocok dengan konfirmasi password'
|
||||
},
|
||||
stringLength: {
|
||||
min: 6,
|
||||
message: 'Password must be more than 6 characters'
|
||||
message: 'Password harus terdiri dari minimal 6 karakter'
|
||||
}
|
||||
}
|
||||
},
|
||||
terms: {
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'Please agree to terms & conditions'
|
||||
message: 'Silakan terima syarat dan ketentuan kami'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user