Graphical PDS migrator for AT Protocol

login warnings

Changed files
+10 -1
islands
+4 -1
islands/CredLogin.tsx
···
type="password"
value={password}
onInput={(e) => setPassword((e.target as HTMLInputElement).value)}
-
placeholder="Enter your password"
disabled={isPending}
className="w-full p-3 border border-gray-300 dark:border-gray-700 bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-300 dark:focus:ring-blue-500 transition-colors"
/>
</div>
<button
···
type="password"
value={password}
onInput={(e) => setPassword((e.target as HTMLInputElement).value)}
+
placeholder="Enter your account password"
disabled={isPending}
className="w-full p-3 border border-gray-300 dark:border-gray-700 bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-300 dark:focus:ring-blue-500 transition-colors"
/>
+
<p className="mt-1 text-sm text-gray-500 dark:text-gray-400">
+
This is your main account password, not an app password. This is required for migrations.
+
</p>
</div>
<button
+6
islands/LoginSelector.tsx
···
</button>
</div>
{loginMethod === 'oauth' ? <HandleInput /> : <CredLogin />}
<div className="mt-4 text-center">
···
</button>
</div>
+
{loginMethod === 'oauth' && (
+
<div className="mb-4 p-3 bg-amber-50 dark:bg-amber-900/30 text-amber-800 dark:text-amber-200 rounded-md text-sm">
+
Note: OAuth login cannot be used for migrations.
+
</div>
+
)}
+
{loginMethod === 'oauth' ? <HandleInput /> : <CredLogin />}
<div className="mt-4 text-center">