mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-10-24 18:49:04 +02:00
fix: don't auto submit OAuth device codes
This commit is contained in:
@@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user