{isActive ? (
@@ -74,28 +81,36 @@ export function AccountStatusCard({
{savingStatus ? 'Saving…' : 'Enable account'}
)}
-
-
-
-
-
-
- Generate reset link for {email}?
-
- A one-time password-reset URL will be copied to your clipboard. Any previously
- issued reset link for this user will be invalidated.
-
-
-
- Cancel
- Generate
-
-
-
+ {!isExternal && (
+
+
+
+
+
+
+ Generate reset link for {email}?
+
+ A one-time password-reset URL will be copied to your clipboard. Any previously
+ issued reset link for this user will be invalidated.
+
+
+
+ Cancel
+ Generate
+
+
+
+ )}
+ {isExternal && (
+
+ This account signs in through an external identity provider (SSO) and has no password,
+ so there's no reset link to generate.
+