This commit is contained in:
xdrm-brackets 2018-03-29 01:45:18 +02:00
parent e8c046f315
commit 9400f8bff5
1 changed files with 1 additions and 1 deletions

View File

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