From 368f713dba18d59d3916fd1d2e72dcf77b60b788 Mon Sep 17 00:00:00 2001 From: MattMo <matt@montoyatech.com> Date: Thu, 16 Dec 2021 11:57:08 -0800 Subject: [PATCH] Adjusted password validate wording to be more clear. --- 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 c13c755..e28dadd 100644 --- a/ignite-html-validate.js +++ b/ignite-html-validate.js @@ -228,7 +228,7 @@ function notify(target, type, msg, duration) { IgniteTemplate.prototype.validatePassword = function(msg) { return this.validate((value, error) => { if (!value || value.trim().length < 5) { - return error(msg ? msg : `Password is too short.`); + return error(msg ? msg : `Password is must be at least 5 characters.`); } else if (value.includes(' ')) { return error(msg ? msg : 'Password cannot contain spaces.'); } else if (value.length > 64) {