From db0862e27854b8e46ff44eda183c4c624cda2d8d Mon Sep 17 00:00:00 2001 From: gabriellsh <40830821+gabriellsh@users.noreply.github.com> Date: Wed, 8 Jan 2020 08:38:28 -0300 Subject: [PATCH] [IMPROVE] Status Text form validation (#16121) --- app/ui-account/client/accountProfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ui-account/client/accountProfile.js b/app/ui-account/client/accountProfile.js index 0b1e94db1491c..913e8a1facc2b 100644 --- a/app/ui-account/client/accountProfile.js +++ b/app/ui-account/client/accountProfile.js @@ -135,7 +135,7 @@ Template.accountProfile.helpers({ return; } } - if (!avatar && user.name === realname && user.username === username && getUserEmailAddress(user) === email === email && (!password || password !== confirmationPassword)) { + if (!avatar && user.name === realname && user.username === username && getUserEmailAddress(user) === email && statusText === user.statusText && !password) { return ret; } if (!validateEmail(email) || !validatePassword(password, confirmationPassword) || (!validateUsername(username) || usernameAvaliable !== true) || !validateName(realname) || !validateStatusMessage(statusText)) {