add email OTP

This commit is contained in:
Alex Turchyn
2025-01-01 14:38:24 +02:00
committed by GitHub
parent b3507c1a3a
commit db60810272
7 changed files with 166 additions and 9 deletions
@@ -0,0 +1,4 @@
<div class="form-control">
<%= label_tag 'user[otp_attempt]', t('two_factor_code_from_authenticator_app'), class: 'label' %>
<%= text_field_tag 'user[otp_attempt]', nil, autofocus: true, autocomplete: 'off', placeholder: 'XXX-XXX', required: true, class: 'base-input' %>
</div>