summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.js b/server.js
index 9634a78..e3cf419 100644
--- a/server.js
+++ b/server.js
@@ -441,6 +441,7 @@ app.post('/reset_password', function (req, res) {
app.post('/change_password', must_be_logged_in, function (req, res) {
try {
+ let name = req.user.name;
let password = req.body.password;
let newpass = req.body.newpass;
LOG(req, "POST /change_password", name);