mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 18:11:40 -05:00
added lowercase and trim also for username_and_email field
This commit is contained in:
parent
fa4cf344db
commit
31ce925b70
1 changed files with 10 additions and 0 deletions
|
@ -4,6 +4,16 @@
|
|||
|
||||
|
||||
//Fields
|
||||
AccountsTemplates.addField({
|
||||
_id: 'username_and_email',
|
||||
displayName: 'usernameOrEmail',
|
||||
placeholder: 'usernameOrEmail',
|
||||
type: 'text',
|
||||
required: true,
|
||||
trim: true,
|
||||
lowercase: true
|
||||
});
|
||||
|
||||
AccountsTemplates.addField({
|
||||
_id: 'username',
|
||||
type: 'text',
|
||||
|
|
Loading…
Add table
Reference in a new issue