This commit is contained in:
Bright 2024-11-21 17:06:08 +07:00
commit f419693b1a

View file

@ -1887,7 +1887,7 @@ export class ProfileController extends Controller {
const jwt = require('jsonwebtoken');
const token = jwt.sign({email_id: body.email, profileId: body.profileId}, process.env.AUTH_ACCOUNT_SECRET, {expiresIn: '15m'});
// console.log("[token]",token);
const link = process.env.URL + "/verifyemail/" + token;
const link = process.env.URL + "/verifyemail?upn=" + token;
// console.log("[link]",link);
await new CallAPI()