mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 10:46:51 +02:00
WIP registration interstitial
This commit is contained in:
@@ -128,6 +128,11 @@ function addToApprovalQueue(req, userData, callback) {
|
||||
], callback);
|
||||
}
|
||||
|
||||
authenticationController.registerComplete = function(req, res, next) {
|
||||
console.log(req.data);
|
||||
res.sendStatus(200);
|
||||
};
|
||||
|
||||
authenticationController.login = function(req, res, next) {
|
||||
// Handle returnTo data
|
||||
if (req.body.hasOwnProperty('returnTo') && !req.session.returnTo) {
|
||||
|
||||
Reference in New Issue
Block a user