V
V
Vsevolod Kulebrod2019-07-04 14:58:54
safari
Vsevolod Kulebrod, 2019-07-04 14:58:54

How to set up code autocomplete from OTP SMS in HTML input field, for example, in Safari while Captive Portal for Hotspot Mikrotik is running?

The problem is that the user does not have time to remember the 6-digit OTP code from SMS, then the client exits the Captive Portal, looks at the code in iMessage and tries again to enter the Wi-Fi network, but the old session is already "rotten" and he again you need to enter a phone number and send the OTP SMS code
In the HTML I wrote

<input type="tel" id="single-factor-code-text-field" name="password" autocomplete="one-time-code" autofocus>
, and sent in SMS , but no magic happens. <#> Your SMS-code: {$ code}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question