@adminforth/open-signup 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build.log CHANGED
@@ -8,5 +8,5 @@ custom/SignupPage.vue
8
8
  custom/SignupUnderLogin.vue
9
9
  custom/tsconfig.json
10
10
 
11
- sent 14,163 bytes received 77 bytes 28,480.00 bytes/sec
11
+ sent 14,167 bytes received 77 bytes 28,488.00 bytes/sec
12
12
  total size is 13,884 speedup is 0.97
package/dist/index.js CHANGED
@@ -323,7 +323,7 @@ export default class OpenSignupPlugin extends AdminForthPlugin {
323
323
 
324
324
  To confirm your email, click the link below:\n\n
325
325
 
326
- {url}?verifyToken={verifyToken}\n\n
326
+ {resetLink}?token={verifyToken}\n\n
327
327
 
328
328
  If you didn't request this, please ignore this email.\n\n
329
329
  Link is valid for 2 hours.\n\n
@@ -331,7 +331,7 @@ export default class OpenSignupPlugin extends AdminForthPlugin {
331
331
  Thanks,
332
332
  The {brandName} Team
333
333
 
334
- `, 'opensignup', { brandName, url, verifyToken });
334
+ `, 'opensignup', { brandName, resetLink, verifyToken });
335
335
  const emailData = {
336
336
  greeting: yield tr('Dear user,', 'opensignup'),
337
337
  welcome: yield tr('Welcome to {brandName}!', 'opensignup', { brandName }),
@@ -349,7 +349,7 @@ export default class OpenSignupPlugin extends AdminForthPlugin {
349
349
  <p>${emailData.greeting}</p>
350
350
  <p>${emailData.welcome}</p>
351
351
  <p>${emailData.instruction}</p>
352
- <a href="${url}?token=${verifyToken}">${emailData.linkText}</a>
352
+ <a href="${resetLink}?token=${verifyToken}">${emailData.linkText}</a>
353
353
  <p>${emailData.disclaimer}</p>
354
354
  <p>${emailData.validity}</p>
355
355
  <p>${emailData.thanks}</p>
package/index.ts CHANGED
@@ -373,7 +373,7 @@ export default class OpenSignupPlugin extends AdminForthPlugin {
373
373
 
374
374
  To confirm your email, click the link below:\n\n
375
375
 
376
- {url}?verifyToken={verifyToken}\n\n
376
+ {resetLink}?token={verifyToken}\n\n
377
377
 
378
378
  If you didn't request this, please ignore this email.\n\n
379
379
  Link is valid for 2 hours.\n\n
@@ -381,7 +381,7 @@ export default class OpenSignupPlugin extends AdminForthPlugin {
381
381
  Thanks,
382
382
  The {brandName} Team
383
383
 
384
- `, 'opensignup', { brandName, url, verifyToken }
384
+ `, 'opensignup', { brandName, resetLink, verifyToken }
385
385
  );
386
386
 
387
387
  const emailData = {
@@ -402,7 +402,7 @@ export default class OpenSignupPlugin extends AdminForthPlugin {
402
402
  <p>${emailData.greeting}</p>
403
403
  <p>${emailData.welcome}</p>
404
404
  <p>${emailData.instruction}</p>
405
- <a href="${url}?token=${verifyToken}">${emailData.linkText}</a>
405
+ <a href="${resetLink}?token=${verifyToken}">${emailData.linkText}</a>
406
406
  <p>${emailData.disclaimer}</p>
407
407
  <p>${emailData.validity}</p>
408
408
  <p>${emailData.thanks}</p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/open-signup",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",