devise_xfactor_authentication 2.2.21 → 2.2.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9ec733cecf344031a24ef18170d6eded851ab4c946a653ced97e200d98f6861
4
- data.tar.gz: 4d871f28b132c3644f033fe2155c6f6298063bb4359c586c2ee17d81a6acd492
3
+ metadata.gz: 1e2427ab5d14f6b2235dca8d7d8940996113aec27a34f435401cf1866e5ad49a
4
+ data.tar.gz: 2db193a72d6ba833a80481eb73496318c6261a3ed8ecafe9ff803b87d1c33c79
5
5
  SHA512:
6
- metadata.gz: 1c43018d42a2aa629af899b6968d1cc48a0feb6074d826b1c106e7feadcb736692158223197026499c80c376f3ef56a4deb36c9bcb968321f18aab2d9d377d7a
7
- data.tar.gz: e5c9afd0249e904708a5dbf3c2f4f0409140c9ec96cdfa497b37b01fd599504c4e2ef3c1d51070178526f04288133d8a17b17cdc1721c505a4416adf36abc51f
6
+ metadata.gz: 2d56bcc7cacf47137c96208b08974e248711307d2e5f85cd8a7e6aa9368d92609949a529164097d4f9208ec71764b971d607f1416299754027bcdc0afeada5d9
7
+ data.tar.gz: 9910430b41392f44f1abd1ec6872b4519ed5a36792593567225aa0b16173af6b6ccaef13d45c6870ed0c8194c9be70cd444ec6897fb9121277c29999020bb4ae
@@ -42,7 +42,7 @@ class Devise::DeviseXfactorAuthenticationController < DeviseController
42
42
  set_flash_message!(:notice, :success)
43
43
  resource.update(second_factor_attempts_count: 0)
44
44
  else
45
- set_flash_message!(:notice, "Signed in successfully")
45
+ set_flash_message!(:notice, :does_not_use_two_factor)
46
46
  end
47
47
  redirect_to after_devise_xfactor_success_path_for(resource)
48
48
  end
@@ -3,6 +3,7 @@ de:
3
3
  devise_xfactor_authentication:
4
4
  success: "Ihre Zwei-Faktor-Authentifizierung war erfolgreich."
5
5
  attempt_failed: "Authentifizierungsversuch fehlgeschlagen."
6
+ does_not_use_two_factor: "Erfolgreich angemeldet."
6
7
  max_login_attempts_reached: "Ihr Zugang wurde ganz verweigert, da Sie Ihr Versuchslimit erreicht haben."
7
8
  contact_administrator: "Kontaktieren Sie bitte einen Ihrer Administratoren."
8
9
  code_has_been_sent: "Ihr Einmal-Passwort wurde verschickt."
@@ -3,6 +3,7 @@ en:
3
3
  devise_xfactor_authentication:
4
4
  success: "Two factor authentication successful."
5
5
  attempt_failed: "Attempt failed."
6
+ does_not_use_two_factor: "Signed in successfully."
6
7
  max_login_attempts_reached: "Access completely denied as you have reached your attempts limit"
7
8
  contact_administrator: "Please contact your system administrator."
8
9
  code_has_been_sent: "Your authentication code has been sent."
@@ -3,6 +3,7 @@ es:
3
3
  devise_xfactor_authentication:
4
4
  success: "Autenticación multi-factor realizada exitosamente."
5
5
  attempt_failed: "La autenticación ha fallado."
6
+ does_not_use_two_factor: "Iniciado sesión con éxito."
6
7
  max_login_attempts_reached: "Has llegado al límite de intentos fallidos, acceso denegado."
7
8
  contact_administrator: "Contacte a su administrador de sistema."
8
9
  code_has_been_sent: "El código de autenticación ha sido enviado."
@@ -3,6 +3,7 @@ fr:
3
3
  devise_xfactor_authentication:
4
4
  success: "Validation en deux étapes effectuée avec succès."
5
5
  attempt_failed: "La connexion a échoué."
6
+ does_not_use_two_factor: "Connexion réussie."
6
7
  max_login_attempts_reached: "Limite de tentatives atteinte, accès refusé."
7
8
  contact_administrator: "Merci de contacter votre administrateur système."
8
9
  code_has_been_sent: "Votre code de validation envoyé."
@@ -3,6 +3,7 @@ ru:
3
3
  devise_xfactor_authentication:
4
4
  success: "Двухфакторная авторизация успешно пройдена."
5
5
  attempt_failed: "Неверный код."
6
+ does_not_use_two_factor: "Выполнен вход."
6
7
  max_login_attempts_reached: "Доступ заблокирован. Превышено число попыток авторизации"
7
8
  contact_administrator: "Пожалуйста, свяжитесь с системным администратором."
8
9
  code_has_been_sent: "Ваш персональный код был отправлен."
@@ -7,8 +7,7 @@ module ActionDispatch::Routing
7
7
  :only => [:show, :update, :resend_code],
8
8
  :path => mapping.path_names[:devise_xfactor_authentication],
9
9
  :controller => controllers[:devise_xfactor_authentication] do
10
- collection { get "resend_code" }
11
- collection { get "bob"}
10
+ collection { get "resend_code" }
12
11
  end
13
12
  end
14
13
  end
@@ -1,3 +1,3 @@
1
1
  module DeviseXfactorAuthentication
2
- VERSION = "2.2.21".freeze
2
+ VERSION = "2.2.23".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_xfactor_authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.21
4
+ version: 2.2.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathon Pickett
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-22 00:00:00.000000000 Z
11
+ date: 2022-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -271,7 +271,7 @@ files:
271
271
  homepage: https://github.com/jpickett76/devise_xfactor_authentication
272
272
  licenses: []
273
273
  metadata: {}
274
- post_install_message:
274
+ post_install_message:
275
275
  rdoc_options: []
276
276
  require_paths:
277
277
  - lib
@@ -286,8 +286,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
286
286
  - !ruby/object:Gem::Version
287
287
  version: '0'
288
288
  requirements: []
289
- rubygems_version: 3.3.7
290
- signing_key:
289
+ rubygems_version: 3.0.3.1
290
+ signing_key:
291
291
  specification_version: 4
292
292
  summary: Two factor authentication plugin for devise forked from Houdini/two_factor_authentication
293
293
  test_files: