corretto il formato del fingerprint
This commit is contained in:
parent
2fc52f58ed
commit
90a0a8a2f6
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
$.extend($.idealforms.rules, {
|
$.extend($.idealforms.rules, {
|
||||||
fingerprint : /^([ABCDEF0-9]{4}\ ){9}[ABCDEF0-9]{4}$/,
|
fingerprint : /^([ABCDEF0-9]{4}\ ){5}(\ )?([ABCDEF0-9]{4}\ ){4}[ABCDEF0-9]{4}$/,
|
||||||
multiple2 : function(input, value) {
|
multiple2 : function(input, value) {
|
||||||
return Number(value) % 2 == 0;
|
return Number(value) % 2 == 0;
|
||||||
},
|
},
|
||||||
|
@ -20,7 +20,7 @@ $.extend($.idealforms.rules, {
|
||||||
});
|
});
|
||||||
|
|
||||||
$.extend($.idealforms.errors,{
|
$.extend($.idealforms.errors,{
|
||||||
fingerprint : 'Must be a valid gpg fingerprint (es. AB98-AF02-852A-24EA-A298-AF02-852A-23CA-AB98-AA02)',
|
fingerprint : 'Must be a valid gpg fingerprint (es. AB98 AF02 852A 24EA A298 AF02 852A 23CA AB98 AA02 or gpg -K --fingerprint format)',
|
||||||
multiple2 : 'Must be a multiple of 2',
|
multiple2 : 'Must be a multiple of 2',
|
||||||
emails : 'Must be a valid email(s) comma separated',
|
emails : 'Must be a valid email(s) comma separated',
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue