diff --git a/plugins/migratecmd/migratecmd_test.go b/plugins/migratecmd/migratecmd_test.go index f2705aad..e9653b24 100644 --- a/plugins/migratecmd/migratecmd_test.go +++ b/plugins/migratecmd/migratecmd_test.go @@ -36,7 +36,7 @@ migrate((app) => { }, "authRule": "", "authToken": { - "duration": 604800 + "duration": 432000 }, "confirmEmailChangeTemplate": { "body": "

Hello,

\n

Click on the button below to confirm your new email address.

\n

\n Confirm new email\n

\n

If you didn't ask to change your email address, please ignore this email.

\n

\n Thanks,
\n {APP_NAME} team\n

", @@ -181,7 +181,7 @@ migrate((app) => { "subject": "Verify your {APP_NAME} email" }, "verificationToken": { - "duration": 259200 + "duration": 86400 }, "viewRule": "id = \"1\"" }); @@ -218,7 +218,7 @@ func init() { }, "authRule": "", "authToken": { - "duration": 604800 + "duration": 432000 }, "confirmEmailChangeTemplate": { "body": "

Hello,

\n

Click on the button below to confirm your new email address.

\n

\n Confirm new email\n

\n

If you didn't ask to change your email address, please ignore this email.

\n

\n Thanks,
\n {APP_NAME} team\n

", @@ -363,7 +363,7 @@ func init() { "subject": "Verify your {APP_NAME} email" }, "verificationToken": { - "duration": 259200 + "duration": 86400 }, "viewRule": "id = \"1\"" }` + "`" + ` @@ -489,7 +489,7 @@ migrate((app) => { }, "authRule": "", "authToken": { - "duration": 604800 + "duration": 432000 }, "confirmEmailChangeTemplate": { "body": "

Hello,

\n

Click on the button below to confirm your new email address.

\n

\n Confirm new email\n

\n

If you didn't ask to change your email address, please ignore this email.

\n

\n Thanks,
\n {APP_NAME} team\n

", @@ -634,7 +634,7 @@ migrate((app) => { "subject": "Verify your {APP_NAME} email" }, "verificationToken": { - "duration": 259200 + "duration": 86400 }, "viewRule": "id = \"1\"" }); @@ -674,7 +674,7 @@ func init() { }, "authRule": "", "authToken": { - "duration": 604800 + "duration": 432000 }, "confirmEmailChangeTemplate": { "body": "

Hello,

\n

Click on the button below to confirm your new email address.

\n

\n Confirm new email\n

\n

If you didn't ask to change your email address, please ignore this email.

\n

\n Thanks,
\n {APP_NAME} team\n

", @@ -819,7 +819,7 @@ func init() { "subject": "Verify your {APP_NAME} email" }, "verificationToken": { - "duration": 259200 + "duration": 86400 }, "viewRule": "id = \"1\"" }` + "`" + `