Prevent accidental disconnect from Stripe

This commit is contained in:
Raphael Michel
2023-04-24 18:02:05 +02:00
parent a86dfcd504
commit 141634eb49
3 changed files with 24 additions and 2 deletions

View File

@@ -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,