Commit 9780863
fix(auth): preserve Magic Link provider settings on pod restart
The seed upsert was overwriting `enabled` and `forceSso` back to false
on every pod restart, undoing the provisioning script's SQL update that
enables Magic Link for new trial instances. This caused newly
provisioned instances to show the password login form instead of the
magic link sign-in.
Remove `enabled` and `forceSso` from the update block so the seed only
sets those fields on initial creation. Existing runtime config set by
the provisioning script is now preserved across restarts.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5c8bb9b commit 9780863
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3587 | 3587 | | |
3588 | 3588 | | |
3589 | 3589 | | |
3590 | | - | |
| 3590 | + | |
| 3591 | + | |
| 3592 | + | |
| 3593 | + | |
3591 | 3594 | | |
3592 | 3595 | | |
3593 | 3596 | | |
3594 | 3597 | | |
3595 | 3598 | | |
3596 | 3599 | | |
3597 | | - | |
3598 | | - | |
| 3600 | + | |
3599 | 3601 | | |
3600 | 3602 | | |
3601 | 3603 | | |
3602 | 3604 | | |
3603 | 3605 | | |
3604 | | - | |
3605 | | - | |
| 3606 | + | |
| 3607 | + | |
3606 | 3608 | | |
3607 | 3609 | | |
3608 | 3610 | | |
3609 | 3611 | | |
3610 | | - | |
| 3612 | + | |
3611 | 3613 | | |
3612 | 3614 | | |
3613 | 3615 | | |
| |||
0 commit comments