From da46becf7a087118e7d682a193d00a3ca6c32eab Mon Sep 17 00:00:00 2001 From: Joachim Van Herwegen Date: Thu, 5 Oct 2023 13:04:33 +0200 Subject: [PATCH] fix: Prevent error when creating a root pod --- templates/identity/email-password/register-partial.html.ejs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/identity/email-password/register-partial.html.ejs b/templates/identity/email-password/register-partial.html.ejs index 748d0223a..4fe214c01 100644 --- a/templates/identity/email-password/register-partial.html.ejs +++ b/templates/identity/email-password/register-partial.html.ejs @@ -59,7 +59,9 @@ Create a new Pod with my WebID as owner<% if (locals.allowRootPod) { %> in the root<% } %>.
    - <% if (!locals.allowRootPod) { %> + <% if (locals.allowRootPod) { %> + + <% } else { %>