mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	updated termsOfUse to use registration interstitial instead of being integrated into register template
This commit is contained in:
		| @@ -201,9 +201,11 @@ Controllers.registerInterstitial = function(req, res, next) { | ||||
| 		var renders = data.interstitials.map(function(interstitial) { | ||||
| 			return async.apply(req.app.render.bind(req.app), interstitial.template, interstitial.data) | ||||
| 		}); | ||||
| 		var errors = req.flash('error'); | ||||
|  | ||||
| 		async.parallel(renders, function(err, sections) { | ||||
| 			res.render('registerComplete', { | ||||
| 				errors: errors, | ||||
| 				sections: sections | ||||
| 			}); | ||||
| 		}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user