mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
closes #4997
This commit is contained in:
@@ -109,7 +109,7 @@ Controllers.login = function(req, res, next) {
|
||||
if (req.query.error === 'csrf-invalid') {
|
||||
errorText = '[[error:csrf-invalid]]';
|
||||
} else if (req.query.error) {
|
||||
errorText = req.query.error;
|
||||
errorText = validator.escape(req.query.error);
|
||||
}
|
||||
|
||||
data.alternate_logins = loginStrategies.length > 0;
|
||||
|
||||
Reference in New Issue
Block a user