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 */