fix: don't show awaiting purchase page if invite codes are disabled
This commit is contained in:
parent
a6bf547fdc
commit
45d9d3ae3b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue