Commit ff3afdd
feat: add needTokenCode method to support all token-based authentication
Adds needTokenCode() method that checks for any active token-based
authentication method (SMS, WhatsApp, Signal, Telegram, XMPP) needing
a verification code. This replaces the SMS-only needSmsCode() check
and enables proper modal display for all token-based methods.
Signed-off-by: Vitor Mattos <[email protected]>1 parent 0da4d8a commit ff3afdd
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
80 | 86 | | |
81 | 87 | | |
82 | 88 | | |
| |||
0 commit comments