@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 +1 -1
- package/dist/index.js +3 -3
- package/index.ts +3 -3
- package/package.json +1 -1
package/build.log
CHANGED
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
|
-
{
|
|
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,
|
|
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="${
|
|
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
|
-
{
|
|
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,
|
|
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="${
|
|
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>
|