Commit b63ed9a
committed
Resolves #6597 (FR-2522)
## Summary
- Add `.trim()` to the `user_id` field value in `connectUsingSession` to strip leading/trailing whitespace before login
- This matches the existing `.trim()` behavior in `connectUsingAPI`
- Regression was introduced during the Lit component removal migration (originally fixed in FR-556)
## Verification
```
=== ALL PASS ===
```
## Test plan
- [ ] Type email with leading/trailing spaces in login form → login succeeds
- [ ] Paste email with extra whitespace → login succeeds
- [ ] Normal login without spaces → still works as before
🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent c96b588 commit b63ed9a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
| 369 | + | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| |||
0 commit comments