fix(rest) onPut: lFiles.password -> lFiles && lFiles.password

This commit is contained in:
coderaiser 2014-02-11 10:41:18 -05:00
parent bd5f0d1bc6
commit e022369e26

View file

@ -418,7 +418,7 @@
case 'config':
var hash,
passwd = lFiles.password,
passwd = lFiles && lFiles.password,
sha = crypto.createHash('sha1');
config = main.config;