Commit d815f3e
committed
fix(add-account): apply selected algorithm and digits immediately
The algorithm and digits <select>s used v-model without the .number
modifier, so the in-memory entry held string values (e.g. "2"). The
generator compares the algorithm with === against the numeric enum, so
every non-SHA1 choice fell through to SHA1 until the entry was reloaded
from storage (which normalises the type). Add .number like the type
select already does.
Refs Authenticator-Extension#11841 parent 17a7da4 commit d815f3e
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
0 commit comments