Commit f6b1f16
Fix auto-login failure when DATABASE_URL uses default port 3306 (#36)
* Initial plan
* Fix auto-login by casting port to int before comparison
Cast port to int before strict comparison to handle type coercion from rawurldecode.
This ensures the default MySQL port 3306 is correctly detected regardless of type,
preventing session key mismatch between storage and lookup.
Co-authored-by: shyim <6224096+shyim@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: shyim <6224096+shyim@users.noreply.github.com>1 parent 9150c5f commit f6b1f16
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments