Commit e1952a6
committed
Security fix: prevent password exposure in SQL logs
- Hash password in PHP before SQL query to avoid cleartext password in logs
- Only md5(password) is sent to SQL, never the cleartext password
- Maintains OpenSimulator password verification compatibility
- Follows defense-in-depth: password and salt never coexist in PHP memory1 parent 487dfdd commit e1952a6
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
38 | | - | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
0 commit comments