mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
closes #6697
This commit is contained in:
@@ -92,6 +92,7 @@ Controllers.login = function (req, res, next) {
|
||||
|
||||
var allowLoginWith = (meta.config.allowLoginWith || 'username-email');
|
||||
var returnTo = (req.headers['x-return-to'] || '').replace(nconf.get('base_url'), '');
|
||||
console.log('returnTo is', returnTo);
|
||||
|
||||
var errorText;
|
||||
if (req.query.error === 'csrf-invalid') {
|
||||
|
||||
Reference in New Issue
Block a user