fix: disable APP_DEBUG in production, fix .htaccess structure, add .gitignore cleanup

- Set APP_DEBUG=false in .env to prevent stack trace leakage
- Use strict comparison (===) for MD5 password migration check
- Fix duplicate rewrite rules and orphaned closing tag in .htaccess
- Remove leftover test files (cookies.txt, ci_test.txt, test-registration.php)
- Remove duplicate package-lock.json (using yarn only)
- Update .gitignore for above files
This commit is contained in:
root
2026-05-25 14:30:37 +02:00
parent 4e07aa3580
commit 4ce68720bb
9 changed files with 325 additions and 8688 deletions
@@ -179,7 +179,7 @@ class RedirectIfTwoFactorAuthenticatable
private function convertUserPassword(User $user, string $password): void
{
if ($user->password == md5($password)) {
if ($user->password === md5($password)) {
$user->update([
'password' => Hash::make($password),
]);