From 72710b804062e26460bd0195510523a876b51c3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 3 Sep 2021 12:22:03 -0400 Subject: [PATCH] fix: #9772, regression from https://github.com/NodeBB/NodeBB/commit/70a04bc10577e90e28d66a647d38cafc3307a285 --- src/controllers/authentication.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/authentication.js b/src/controllers/authentication.js index 132c0b33f7..875976a635 100644 --- a/src/controllers/authentication.js +++ b/src/controllers/authentication.js @@ -200,7 +200,7 @@ authenticationController.registerComplete = function (req, res, next) { return winston.warn('[register] Interstitial callbacks processed with no errors, but one or more interstitials remain. This is likely an issue with one of the interstitials not properly handling a null case or invalid value.'); } - done(); + done(null, data); } else { // Update user hash, clear registration data in session const payload = req.session.registration;