devise_xfactor_authentication 2.2.21 → 2.2.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/devise/devise_xfactor_authentication_controller.rb +1 -1
- data/config/locales/de.yml +1 -0
- data/config/locales/en.yml +1 -0
- data/config/locales/es.yml +1 -0
- data/config/locales/fr.yml +1 -0
- data/config/locales/ru.yml +1 -0
- data/lib/devise_xfactor_authentication/routes.rb +1 -2
- data/lib/devise_xfactor_authentication/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e2427ab5d14f6b2235dca8d7d8940996113aec27a34f435401cf1866e5ad49a
|
4
|
+
data.tar.gz: 2db193a72d6ba833a80481eb73496318c6261a3ed8ecafe9ff803b87d1c33c79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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,
|
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
|
data/config/locales/de.yml
CHANGED
@@ -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."
|
data/config/locales/en.yml
CHANGED
@@ -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."
|
data/config/locales/es.yml
CHANGED
@@ -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."
|
data/config/locales/fr.yml
CHANGED
@@ -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é."
|
data/config/locales/ru.yml
CHANGED
@@ -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
|
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.
|
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-
|
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.
|
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:
|