mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	ESlint no-useless-escape, no-else-return
This commit is contained in:
		| @@ -131,9 +131,8 @@ Controllers.login = function (req, res, next) { | ||||
| 			return helpers.redirect(res, { | ||||
| 				external: data.authentication[0].url, | ||||
| 			}); | ||||
| 		} else { | ||||
| 			return res.redirect(nconf.get('relative_path') + data.authentication[0].url); | ||||
| 		} | ||||
| 		return res.redirect(nconf.get('relative_path') + data.authentication[0].url); | ||||
| 	} | ||||
| 	if (req.uid) { | ||||
| 		user.getUserFields(req.uid, ['username', 'email'], function (err, user) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user