Commit 274821a
committed
fix: Ensure onboarding triggers for new users
- Explicitly set has_completed_onboarding to false during user registration
- Update middleware to handle null values defensively
- This ensures new users are properly redirected to onboarding flow1 parent 41b29b8 commit 274821a
File tree
2 files changed
+2
-1
lines changed- app/Http
- Controllers/Auth
- Middleware
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments