feat: Indicate to templates if this is part of an auth request

This commit is contained in:
Joachim Van Herwegen
2021-08-13 12:05:22 +02:00
parent cb227d6431
commit f71f8683fc
3 changed files with 29 additions and 17 deletions

View File

@@ -26,7 +26,11 @@
<h2>Your new account</h2>
<p>
Via your email address <em><%= email %></em>,
this server lets you <a href="./login">log in</a> to Solid apps
<% if (authenticating) { %>
you can now <a href="./login">log in</a>
<% } else { %>
this server lets you log in to Solid apps
<% } %>
with your WebID <a href="<%= webId %>" class="link"><%= webId %></a>
</p>
<% if (!createWebId) { %>