form is a ref() — in <script setup>, .value is required to access the inner object. form.email was undefined at runtime, causing a TypeError that was caught and shown as the generic login error. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>