Merge branch 'develop' of https://github.com/Frappet/bma-ehr-organization into develop
This commit is contained in:
commit
f419693b1a
1 changed files with 1 additions and 1 deletions
|
|
@ -1887,7 +1887,7 @@ export class ProfileController extends Controller {
|
||||||
const jwt = require('jsonwebtoken');
|
const jwt = require('jsonwebtoken');
|
||||||
const token = jwt.sign({email_id: body.email, profileId: body.profileId}, process.env.AUTH_ACCOUNT_SECRET, {expiresIn: '15m'});
|
const token = jwt.sign({email_id: body.email, profileId: body.profileId}, process.env.AUTH_ACCOUNT_SECRET, {expiresIn: '15m'});
|
||||||
// console.log("[token]",token);
|
// console.log("[token]",token);
|
||||||
const link = process.env.URL + "/verifyemail/" + token;
|
const link = process.env.URL + "/verifyemail?upn=" + token;
|
||||||
// console.log("[link]",link);
|
// console.log("[link]",link);
|
||||||
|
|
||||||
await new CallAPI()
|
await new CallAPI()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue