diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json index f1fc73f9..c1d3558d 100644 --- a/src/lib/i18n/en.json +++ b/src/lib/i18n/en.json @@ -183,7 +183,8 @@ "chooseInstance": "Choose an instance", "application": { "label": "Application", - "info": "To join this instance, you must fill out this application, and wait to be accepted. You will receive an email if your application is accepted." + "info": "To join this instance, you must fill out this application, and wait to be accepted. You will receive an email if your application is accepted.", + "notice": "Your signup is now pending. Once an administrator reviews it, you will receive an email if it was accepted. You then can log in." }, "closed": { "title": "Registrations closed", diff --git a/src/routes/signup/[instance]/+page.svelte b/src/routes/signup/[instance]/+page.svelte index ab1cfe07..2358e8b2 100644 --- a/src/routes/signup/[instance]/+page.svelte +++ b/src/routes/signup/[instance]/+page.svelte @@ -92,12 +92,8 @@ ) { if (res.verify_email_sent) return (stage = 'verify') - if (registrationMode == 'RequireApplication') { - return toast({ - content: $t('toast.waitApplication'), - type: 'info', - }) - } + if (registrationMode == 'RequireApplication') + return stage == 'application' } else { throw new Error($t('toast.failSignup')) } @@ -319,6 +315,16 @@ + {:else if stage == 'application'} +