Hide the BTCPay link if BTCPAY_PRIVATE_KEY un-set

This commit is contained in:
3wc 2021-07-21 00:20:38 +02:00
parent bca570882e
commit 8b0ce0ba71
1 changed files with 2 additions and 0 deletions

View File

@ -46,7 +46,9 @@
<a href="/payment/stripe">Add funds with Credit/Debit (stripe)</a>
<ul><li>notice: stripe will load nonfree javascript </li></ul>
</li>
{% if config['BTCPAY_PRIVATE_KEY'] != "" %}
<li><a href="/payment/btcpay">Add funds with Bitcoin/Litecoin/Monero (btcpay)</a></li>
{% endif %}
<li>Cash: email <a href="mailto:treasurer@cyberia.club">treasurer@cyberia.club</a></li>
</ul>