mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Stripe: Support for restricted keys
This commit is contained in:
@@ -136,7 +136,7 @@ class StripeSettingsHolder(BasePaymentProvider):
|
||||
forms.CharField(
|
||||
label=_('Secret key'),
|
||||
validators=(
|
||||
StripeKeyValidator('sk_'),
|
||||
StripeKeyValidator(['sk_', 'rk_']),
|
||||
),
|
||||
)),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user