Email Verification
-This website requires you to use Two-Factor Authentication. Please choose your mode below. By default, the enhanced mode is enabled which requires you to type a 6-character code into a field after confirming the mail address. You can change this setting at any point later.
+We strongly encourage you to enable Two-Factor authentication for your account. Below you have the choice between not enabling it, enabling a mode where you just have to click the link in the email and you're in (simple) and a mode where you have to click the link in the mail and confirm the login by typing the code displayed on the main window (enhanced).
@@ -93,7 +94,7 @@ let data = ''; let fetchOptions = { method: 'post', - body: JSON.stringify( { 'code': data, 'token': location.search.substring( 7 ) } ), + body: JSON.stringify( { 'twoFA': data } ), headers: { 'Content-Type': 'application/json', 'charset': 'utf-8' diff --git a/src/server/ui/en/signup/enforceTwoFA.html b/src/server/ui/en/signup/enforceTwoFA.html index 4771818..32648a5 100644 --- a/src/server/ui/en/signup/enforceTwoFA.html +++ b/src/server/ui/en/signup/enforceTwoFA.html @@ -71,12 +71,11 @@Email Verification
-We strongly encourage you to enable Two-Factor authentication for your account. Below you have the choice between not enabling it, enabling a mode where you just have to click the link in the email and you're in (simple) and a mode where you have to click the link in the mail and confirm the login by typing the code displayed on the main window (enhanced).
+This website requires you to use Two-Factor Authentication. Please choose your mode below. By default, the enhanced mode is enabled which requires you to type a 6-character code into a field after confirming the mail address. You can change this setting at any point later.
@@ -94,7 +93,7 @@ let data = ''; let fetchOptions = { method: 'post', - body: JSON.stringify( { 'code': data, 'token': location.search.substring( 7 ) } ), + body: JSON.stringify( { 'twoFA': data } ), headers: { 'Content-Type': 'application/json', 'charset': 'utf-8' diff --git a/src/server/ui/en/signup/signupMail.html b/src/server/ui/en/signup/signupMail.html new file mode 100644 index 0000000..ef2a40f --- /dev/null +++ b/src/server/ui/en/signup/signupMail.html @@ -0,0 +1,69 @@ + + + + + +Welcome to {{ pageName }}
+To complete your signup at {{ pageName }}, we need you to click the link below to confirm your email.
+ Confirm +