Commit 884a074
Fix first user registration not calling register endpoint
When isFirstUser is true, the form displayed "Create Admin Account"
but still called the login endpoint instead of register. Now checks
both isRegister and isFirstUser to determine which endpoint to call.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent a0cc1b1 commit 884a074
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments