mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 03:06:31 +02:00
refactor: remove "password" in comments
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user