diff --git a/files/routes/admin.py b/files/routes/admin.py index f4741192b..1f6dd8672 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -2064,7 +2064,7 @@ def insert_transaction_post(v): amount = request.values.get("amount", "").strip() username = request.values.get("username", "").strip() - if type not in {'BTC', 'ETH'}: + if type not in {'BTC', 'ETH', 'USDT', 'USDC'}: abort(400, "Invalid transaction currency!") if not id: diff --git a/files/templates/admin/insert_transaction.html b/files/templates/admin/insert_transaction.html index 30d5d4d9c..5518483c7 100644 --- a/files/templates/admin/insert_transaction.html +++ b/files/templates/admin/insert_transaction.html @@ -18,6 +18,8 @@ + + diff --git a/files/templates/donate.html b/files/templates/donate.html index 8c5252ea5..31251057e 100644 --- a/files/templates/donate.html +++ b/files/templates/donate.html @@ -17,14 +17,23 @@