STR:
- Enable MSC3814 on synapse (
experimental_features: msc2697_enabled: false msc3814_enabled: true)
- Enable MSC3814 flag in well-known (
extra_well_known_client_content: { "org.matrix.msc3814": true })
- Log in. Observe:

- Click "Verify with Security Key or Phrase".
- Click "Reset all"
- Click "Reset" to confirm. Observe:

- Either generate a key or enter a phrase
- Observe:

- Click "continue"
- Enter account password
Expected
Secrets are correctly reset
Actual

It's prompting me for the security key which I have literally just set.
Notes
This only happens if a dehydrated device previously existed.
If you enter the security key, then everything is reset correctly, but then you end up back at the start: #29120
You can also hit this flow from within the settings panel, by clicking this Reset button, though note that said button is being removed as part of #26468:

STR:
experimental_features:msc2697_enabled: falsemsc3814_enabled: true)extra_well_known_client_content: { "org.matrix.msc3814": true })Expected
Secrets are correctly reset
Actual
It's prompting me for the security key which I have literally just set.
Notes
This only happens if a dehydrated device previously existed.
If you enter the security key, then everything is reset correctly, but then you end up back at the start: #29120
You can also hit this flow from within the settings panel, by clicking this Reset button, though note that said button is being removed as part of #26468: