Increase max username size

This commit is contained in:
Ajay Ramachandran
2020-10-14 23:12:04 -04:00
parent e0df3d4208
commit 34b8119a21

View File

@@ -12,7 +12,7 @@ module.exports = function setUsername(req, res) {
let adminUserIDInput = req.query.adminUserID;
if (userID == undefined || userName == undefined || userID === "undefined" || userName.length > 50) {
if (userID == undefined || userName == undefined || userID === "undefined" || userName.length > 64) {
//invalid request
res.sendStatus(400);
return;