Commit 900ac0b
authored
fix: reject client_secret without client_id to prevent wrong-tenant data (#135)
* fix: reject client_secret without client_id to prevent wrong-tenant data
If client_secret (license key) is set without client_id, the SDK
would silently use 'community' as the tenant identity. All data
would be stored under the wrong tenant, causing data loss on
upgrade when client_id is eventually set correctly.
* fix: wrap long line to pass ruff linter (100 char limit)
* fix: assign error message to variable per ruff EM101 rule1 parent 43b4c84 commit 900ac0b
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
393 | 401 | | |
394 | 402 | | |
395 | 403 | | |
| |||
0 commit comments