mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-22 07:23:01 +01:00
Merge branch 'master' into develop
This commit is contained in:
@@ -210,7 +210,7 @@ authenticationController.registerComplete = async function (req, res) {
|
||||
};
|
||||
|
||||
authenticationController.registerAbort = async (req, res) => {
|
||||
if (req.uid) {
|
||||
if (req.uid && req.session.registration) {
|
||||
// Email is the only cancelable interstitial
|
||||
delete req.session.registration.updateEmail;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user