Skip to content

Commit

Permalink
Merge 23297d8 into 7325908
Browse files Browse the repository at this point in the history
  • Loading branch information
phembarl committed Aug 17, 2019
2 parents 7325908 + 23297d8 commit 3fe0233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/authController.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class AuthController {
const { id, isVerified } = result;
const token = await generateToken({ id, email, isVerified, role });

const url = `${req.protocol}://${req.get('host')}/api/v1/auth/verify/${token}`;
const url = `https://ah-nyati-frontend.herokuapp.com/dashboard?verifyToken=${token}`;
const message = template(userName, url);
if (!isTest) {
const subject = 'Welcome to Authors Haven';
Expand Down

0 comments on commit 3fe0233

Please sign in to comment.