From 705a06633ef706f46a5936adabe8942f80c4404d Mon Sep 17 00:00:00 2001 From: Ruben Verborgh Date: Fri, 23 Jul 2021 14:38:09 +0200 Subject: [PATCH 1/2] docs: Make registration text more friendly. --- .../email-password/register-response.html.ejs | 35 +++++++++++++------ test/integration/Identity.test.ts | 24 ++++--------- 2 files changed, 32 insertions(+), 27 deletions(-) diff --git a/templates/identity/email-password/register-response.html.ejs b/templates/identity/email-password/register-response.html.ejs index 44401194ef..3bbe29e723 100644 --- a/templates/identity/email-password/register-response.html.ejs +++ b/templates/identity/email-password/register-response.html.ejs @@ -13,30 +13,45 @@

You are signed up

+

+ Welcome to Solid. + We wish you an exciting experience! +

+ + <% if (createPod) { %> +

Your new pod

+

+ Your new pod is located at <%= podBaseUrl %>. +
+ You can store your documents and data there. +

+ <% } %> + <% if (createWebId) { %> +

Your new WebID

Your new WebID is <%= webId %>. +
+ You can use this identifier to interact with Solid pods and apps.

<% } %> + <% if (register) { %> +

Your new login

- You can now identify as <%= webId %> - on this server using <%= email %>. + You can log in + with your WebID <%= webId %> + on this server via your email address <%= email %>.

<% if (!createWebId) { %>

- Make sure you add the triple + You will need to add the triple <%= `<${webId}> <${oidcIssuer}>.`%> - to your WebID profile. + to your existing WebID document <%= webId %> + to indicate that you trust this server as a login provider for your WebID.

<% } %> <% } %> - <% if (createPod) { %> -

- Your new pod has been created - and can be found at <%= podBaseUrl %>. -

- <% } %>