Skip to content

Node.js based forum software built for the modern web

added missing radix :rage3:

barisusakli1ade973e5661
diff --git a/src/routes/authentication.js b/src/routes/authentication.js
index 247d19777a..a0f420458d 100644
--- a/src/routes/authentication.js
+++ b/src/routes/authentication.js
@@ -24,7 +24,7 @@
app.use(passport.session());
app.use(function(req, res, next) {
- req.uid = req.user ? parseInt(req.user.uid) : 0;
+ req.uid = req.user ? parseInt(req.user.uid, 10) : 0;
next();
});