Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: warn that resetting the DB password affects pooler and read replicas (#50649)

Monica Khourybe9c67a76156
diff --git a/apps/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPasswordDialog.tsx b/apps/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPasswordDialog.tsx
index 9e3bde80045..9e64e5a1107 100644
--- a/apps/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPasswordDialog.tsx
+++ b/apps/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPasswordDialog.tsx
@@ -14,6 +14,7 @@ import {
DialogTitle,
DialogTrigger,
} from 'ui'
+import { Admonition } from 'ui-patterns/Admonition'
import { Input } from 'ui-patterns/DataInputs/Input'
import { FormItemLayout } from 'ui-patterns/form/FormItemLayout/FormItemLayout'
@@ -155,6 +156,10 @@ export const ResetDbPasswordDialog = ({
</DialogHeader>
<DialogSectionSeparator />
<DialogSection className="w-full space-y-8">
+ <Admonition type="warning" title="This password is shared across every connection method">
+ Resetting it will disconnect the pooler, read replicas, and any app, ORM, or tool still
+ using the old password. Update it everywhere before switching over.
+ </Admonition>
<FormItemLayout
layout="vertical"
isReactForm={false}