refactor: remove "password" in comments

This commit is contained in:
Barış Soner Uşaklı
2024-12-09 14:40:49 -05:00
parent e532dcb46c
commit fe811537e9
8 changed files with 5 additions and 16 deletions

View File

@@ -47,7 +47,6 @@ middleware.checkPrivileges = helpers.try(async (req, res, next) => {
}
}
// If user does not have password
const hasPassword = await user.hasPassword(req.uid);
if (!hasPassword) {
return next();