Skip to content

Node.js based forum software built for the modern web

fixed small bug

Baris Soner Usakli8eeb962ebc53
diff --git a/src/routes/user.js b/src/routes/user.js
index b6b6e6a87d..ae34d29472 100644
--- a/src/routes/user.js
+++ b/src/routes/user.js
@@ -165,7 +165,7 @@ var fs = require('fs'),
});
}
- var updateUid = req.params.uid;
+ var updateUid = req.user.uid;
async.waterfall([
function(next) {