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