forked from CGM_Public/pretix_original
Prevent accidental disconnect from Stripe
This commit is contained in:
@@ -116,7 +116,7 @@ class StripeSettingsHolder(BasePaymentProvider):
|
||||
)
|
||||
else:
|
||||
return (
|
||||
"<button formaction='{}' class='btn btn-danger'>{}</button>"
|
||||
"<a href='{}' class='btn btn-danger'>{}</a>"
|
||||
).format(
|
||||
reverse('plugins:stripe:oauth.disconnect', kwargs={
|
||||
'organizer': self.event.organizer.slug,
|
||||
|
||||
Reference in New Issue
Block a user