From 45d9d3ae3bc7a678c664cdee76f922973f11e91e Mon Sep 17 00:00:00 2001 From: trisua Date: Fri, 15 Aug 2025 13:00:27 -0400 Subject: [PATCH] fix: don't show awaiting purchase page if invite codes are disabled --- crates/app/src/public/html/root.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/app/src/public/html/root.lisp b/crates/app/src/public/html/root.lisp index 0cd836f..636350d 100644 --- a/crates/app/src/public/html/root.lisp +++ b/crates/app/src/public/html/root.lisp @@ -88,7 +88,7 @@ (span (text "This ban is marked as permanent.")) (text "{%- endif %}"))))) ; if we aren't banned, just show the page body - (text "{% elif user and user.awaiting_purchase %}") + (text "{% elif user and user.awaiting_purchase and config.security.enable_invite_codes %}") ; account waiting for payment message (article (main