From ac5f668dabbd1fb1c35c12ac0e41054f8cf51475 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Tue, 20 Aug 2013 10:43:11 +0100 Subject: [PATCH] Updating password length validation - setting it back to 7 chars so that people who have 7 char passwords, which were valid, can login. --- ghost/admin/views/settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/admin/views/settings.js b/ghost/admin/views/settings.js index e90c843f31..77f68c25f4 100644 --- a/ghost/admin/views/settings.js +++ b/ghost/admin/views/settings.js @@ -214,8 +214,8 @@ return; } - if (newPassword.length < 8) { - this.saveError('The password is not long enough. Have at least 8 characters'); + if (newPassword.length < 7) { + this.saveError('The password is not long enough. Have at least 7 characters'); return; }