v1.18.x
barisusakli 9 years ago
parent 4aac8bbe6a
commit e33dfe3c55

@ -109,7 +109,7 @@ Controllers.login = function(req, res, next) {
if (req.query.error === 'csrf-invalid') { if (req.query.error === 'csrf-invalid') {
errorText = '[[error:csrf-invalid]]'; errorText = '[[error:csrf-invalid]]';
} else if (req.query.error) { } else if (req.query.error) {
errorText = req.query.error; errorText = validator.escape(req.query.error);
} }
data.alternate_logins = loginStrategies.length > 0; data.alternate_logins = loginStrategies.length > 0;

Loading…
Cancel
Save