This commit is contained in:
Barış Soner Uşaklı
2016-08-30 13:18:40 +03:00
committed by GitHub
parent 550fa4717d
commit fdd8514058

View File

@@ -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;