requestOTP missing email format validation #11

Open
opened 2026-02-27 21:16:58 -05:00 by toph · 0 comments
Owner

src/lib/remote/auth.remote.ts:44-46

validates v.nonEmpty() but not v.email(), while register at line 92 correctly includes v.email('Invalid email')
Any non-empty string hits PocketBase. Add v.email() to match register

src/lib/remote/auth.remote.ts:44-46 validates v.nonEmpty() but not v.email(), while register at line 92 correctly includes v.email('Invalid email') Any non-empty string hits PocketBase. Add v.email() to match register
toph added reference auth 2026-02-27 21:17:17 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
toph/spellbinder#11
No description provided.