diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-04-06 20:58:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-06 20:58:12 +0200 |
commit | 6221b36b278c02cdbf5b6d1c0753654b506b44fd (patch) | |
tree | f4a8ea0e6636445dfe8417beceaa0cf69476169f /app/views/auth | |
parent | abb11778d7d9ac04fe1feeccf5cefc6d2ed58780 (diff) |
Remove sign-in token authentication, instead send e-mail about new sign-in (#17970)
Diffstat (limited to 'app/views/auth')
-rw-r--r-- | app/views/auth/sessions/sign_in_token.html.haml | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/views/auth/sessions/sign_in_token.html.haml b/app/views/auth/sessions/sign_in_token.html.haml deleted file mode 100644 index 8923203cd..000000000 --- a/app/views/auth/sessions/sign_in_token.html.haml +++ /dev/null @@ -1,14 +0,0 @@ -- content_for :page_title do - = t('auth.login') - -= simple_form_for(resource, as: resource_name, url: session_path(resource_name), method: :post) do |f| - %p.hint.otp-hint= t('users.suspicious_sign_in_confirmation') - - .fields-group - = f.input :sign_in_token_attempt, type: :number, wrapper: :with_label, label: t('simple_form.labels.defaults.sign_in_token_attempt'), input_html: { 'aria-label' => t('simple_form.labels.defaults.sign_in_token_attempt'), :autocomplete => 'off' }, autofocus: true - - .actions - = f.button :button, t('auth.login'), type: :submit - - - if Setting.site_contact_email.present? - %p.hint.subtle-hint= t('users.generic_access_help_html', email: mail_to(Setting.site_contact_email, nil)) |