mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
banned users cant login, show error messages on failed logins
This commit is contained in:
@@ -124,6 +124,7 @@ var express = require('express'),
|
||||
});
|
||||
|
||||
app.use(function(err, req, res, next) {
|
||||
|
||||
// we may use properties of the error object
|
||||
// here and next(err) appropriately, or if
|
||||
// we possibly recovered from the error, simply next().
|
||||
|
||||
Reference in New Issue
Block a user