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