How to make custom field name for password_again
Closed this issue · 1 comments
alexandrzavalii commented
I couldn't find a way to change the name of the label for password_again on reset-password route.
This is how I changed the password field.
AccountsTemplates.addField({
_id: 'password',
type: 'password',
displayName: "Heslo",
required: true,
minLength: 6,
re: /(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{6,}/,
errStr: 'At least 1 digit, 1 lower-case and 1 upper-case',
});
alexandrzavalii commented
OK, so I found the way to change the field. I dont delete it I just add it
AccountsTemplates.addField({
_id: 'password_again',
type: 'password',
required: true,
displayName: "Heslo znovu",
placeholder: "*****"
});