fix password change

This commit is contained in:
azivner
2017-11-06 19:48:02 -05:00
parent e1251222cc
commit a73afa9ded
4 changed files with 6 additions and 10 deletions

View File

@@ -41,7 +41,7 @@ function hmac(secret, value) {
}
function browserId(req) {
return req.get('x-browser-id');
return req == null ? null : req.get('x-browser-id');
}
function isElectron() {