Ahoj,
+Potvrď prosím tímhle odkazem, že tenhle e-mail patří tobě:
++ Potvrdit e-mail +
+Není to povinné. Bez potvrzení se přihlásíš úplně stejně, jen Richard +uvidí, že adresa opravdu funguje.
+Amber
`; + +// What 1794000000 set, so the down migration lands where it started rather than +// on PocketBase's English default. +const PREVIOUS_BODY = `Ahoj,
+Potvrď prosím tímhle odkazem, že tenhle e-mail patří tobě:
++ Potvrdit e-mail +
+Amber
`; + +migrate( + (app) => { + const users = app.findCollectionByNameOrId("users"); + users.verificationTemplate.subject = VERIFY_SUBJECT; + users.verificationTemplate.body = VERIFY_BODY; + app.save(users); + }, + (app) => { + const users = app.findCollectionByNameOrId("users"); + users.verificationTemplate.subject = VERIFY_SUBJECT; + users.verificationTemplate.body = PREVIOUS_BODY; + app.save(users); + }, +); diff --git a/pb_public/index.html b/pb_public/index.html index f41c9af..4964616 100644 --- a/pb_public/index.html +++ b/pb_public/index.html @@ -131,6 +131,26 @@ + + +Moment, ověřuji…
+ + +