Commit f0b0241
fix: harden ClientOverridePolicy defaults to prevent userVerification downgrade
Change default client override policy for user_verification to deny
overrides by default and exclude 'discouraged' from allowed values.
This prevents a client from downgrading userVerification to bypass
biometric/PIN requirements configured server-side.
- ClientOverridePolicy::canOverride() now defaults to false for unknown fields
- user_verification.enabled defaults to false (was true)
- user_verification.allowed_values defaults to ['required', 'preferred'] (was ['required', 'preferred', 'discouraged'])
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent dd43597 commit f0b0241
File tree
2 files changed
+3
-3
lines changed- src/symfony/src
- DependencyInjection
- Policy
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments