From 709cfb8b95b989820557385b7afde65d3c2b845e Mon Sep 17 00:00:00 2001 From: MattMo <matt@montoyatech.com> Date: Wed, 4 May 2022 09:23:01 -0700 Subject: [PATCH] Fixed typo in password validation message. --- ignite-html-validate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ignite-html-validate.js b/ignite-html-validate.js index 41f6c4f..9a1784c 100644 --- a/ignite-html-validate.js +++ b/ignite-html-validate.js @@ -221,7 +221,7 @@ IgniteTemplate.prototype.validateEmail = function (msg) { IgniteTemplate.prototype.validatePassword = function (msg) { return this.validate((value, error) => { if (!value || value.trim().length < 5) { - return error(msg ? msg : `Password is must be at least 5 characters.`); + return error(msg ? msg : `Password must be at least 5 characters.`); } else if (value.includes(' ')) { return error(msg ? msg : 'Password cannot contain spaces.'); } else if (value.length > 64) {