mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
feat: add user.email.confirmByUid for sso plugins
This commit is contained in:
@@ -205,7 +205,7 @@ Controllers.registerInterstitial = async function (req, res, next) {
|
||||
};
|
||||
|
||||
Controllers.confirmEmail = function (req, res) {
|
||||
user.email.confirm(req.params.code, function (err) {
|
||||
user.email.confirmByCode(req.params.code, function (err) {
|
||||
res.render('confirm', {
|
||||
error: err ? err.message : '',
|
||||
title: '[[pages:confirm]]',
|
||||
|
||||
Reference in New Issue
Block a user