Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.
PHP ai-agentsblueskyfacebookinstagramlaravellinkedinmastodonmcpmcp-serveropen-sourcerest-apiself-hostedsocial-mediasocial-media-managementsocial-media-schedulerthreadstiktokvuejsxyoutube
feat: require username confirmation when disconnecting a social account
Paulo Castellano94217172077d
diff --git a/resources/js/pages/accounts/Index.vue b/resources/js/pages/accounts/Index.vueindex 64c100d27..bec3d3563 100644--- a/resources/js/pages/accounts/Index.vue+++ b/resources/js/pages/accounts/Index.vue@@ -118,8 +118,11 @@ const handleToggle = (accountId: string) => {router.put(toggleAccount.url(accountId), {}, { preserveScroll: true });};-const handleDisconnect = (accountId: string) => {- deleteModal.value?.open({ url: disconnectAccount.url(accountId) });+const handleDisconnect = (account: SocialAccount) => {+ deleteModal.value?.open({+ url: disconnectAccount.url(account.id),+ confirmText: account.username,+ });};</script>@@ -257,7 +260,7 @@ const handleDisconnect = (accountId: string) => {<DropdownMenuSeparator v-if="isDisconnected(account)" /><DropdownMenuItemvariant="destructive"- @click="handleDisconnect(account.id)"+ @click="handleDisconnect(account)"><IconTrash class="size-4" />{{ $t('accounts.disconnect') }}