Add password reset and email verification, change nomenclature so that "verification...
[ndcode_site.git] / api / sign_up / verify_email.json.jst
index dc70f77..d7f915c 100644 (file)
@@ -37,7 +37,7 @@ return async env => {
         if (account === undefined)
           throw new Problem(
             'Account does not exist',
-            `Please create the account for "${email}" before attempting to verify the email link.`
+            `Please create the account for "${email}" before attempting to verify the email verification link.`
             421
           )
 
@@ -61,7 +61,7 @@ return async env => {
         )
           throw new Problem(
             'Link code missing',
-            `Link code for email "${email}" does not exist or has expired.`,
+            `Email verification link code for account "${email}" does not exist or has expired.`,
             423
           )
         if (
@@ -71,7 +71,7 @@ return async env => {
         )
           throw new Problem(
             'Link code mismatch',
-            `Provided link code "${link_code}" does not match expected value.`,
+            `Provided email verification link code "${link_code}" does not match expected value.`,
             423
           )