From 9400f8bff5eff5571a04f3c6c02aefd8fdc227ab Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Thu, 29 Mar 2018 01:45:18 +0200 Subject: [PATCH] minmod --- webpack/lib/content-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack/lib/content-controller.js b/webpack/lib/content-controller.js index dc880a7..ebe4553 100644 --- a/webpack/lib/content-controller.js +++ b/webpack/lib/content-controller.js @@ -117,7 +117,7 @@ export default class ContentController{ change_password(password=null){ /* (1) Error: if invalid user_id */ - if( typeof password !== 'string' || !/^[^<>\/\\]{8,50}$/.test(password) ) + if( typeof password !== 'string' ) return false; /* (2) Error: unknown user */