mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-26 05:30:21 +02:00
This commit is contained in:
committed by
GitHub
parent
550fa4717d
commit
fdd8514058
@@ -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(String(req.query.error));
|
||||
}
|
||||
|
||||
data.alternate_logins = loginStrategies.length > 0;
|
||||
|
||||
Reference in New Issue
Block a user