fix: don't auto submit OAuth device codes

This commit is contained in:
Elias Schneider
2026-09-17 21:08:52 +02:00
parent b1463297f4
commit 43c0b797fd
2 changed files with 108 additions and 10 deletions
+2 -1
View File
@@ -51,7 +51,8 @@
);
onMount(() => {
if (data.code && $userStore) {
// Device login codes always show a confirmation before approval
if (data.code && normalizedUserCode.startsWith('P') && $userStore) {
authorize();
}
});