Commit be242ba
committed
fix(settings): dont send duplicate otp codes
Because:
- For relying parties with configured CMS customization, users are
receiving duplicate OTP codes on signin and signup.
This commit:
- Ensure only 1 OTP code is sent, by only calling
authClient.sendPasswordlessCode on component mount.
Closes #FXA-132761 parent f756eba commit be242ba
1 file changed
Lines changed: 4 additions & 2 deletions
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| |||
132 | 134 | | |
133 | 135 | | |
134 | 136 | | |
135 | | - | |
| 137 | + | |
0 commit comments