mirror of
https://github.com/snipe/snipe-it.git
synced 2026-08-18 11:15:42 +00:00
Local dev uses SQLite which is loose about column types and stored '' as literal empty string. Github’s CI uses MySQL which enforces the tinyInteger column type and coerced '' to 0. The middleware's off-signal check is $settings->two_factor_enabled != '', which in PHP 8 evaluates '0' != '' as true (unlike PHP 7), so on MySQL the middleware entered the redirect flow.