authentication-zero 2.16.16 → 2.16.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99df48ab46b9859695eadb1675580d523f1953a3f211b648b3c752e22598557a
4
- data.tar.gz: c9fa8cfc8785c16a3329737b89c43ded33f74b79857e52a32f5e1b00872e388f
3
+ metadata.gz: 54633f078d0da7d8832e1e8067b1a6462ddcf567351b5f15e548f62ab0307d86
4
+ data.tar.gz: ca024f87f0c49e1534679fedadc7d3944209be7c955a3bc46e254e3d4c790f73
5
5
  SHA512:
6
- metadata.gz: 72daf22b87d0960c34885348cdf1c24ae3d67dbc9e34c816ac0d1592fd9e46299776b624383d4d318034edfbcedfa5e894fa65495188afe94aee6b011d3b4281
7
- data.tar.gz: 219aa2ebe407eacf4344c462e20aad1abea1389b96b629f6313486821d07f04ea3682e789accaef04fb2bf60365cacb229fddbbafbf8c6e2bb8172ab18195ec7
6
+ metadata.gz: 2646e6b0e95f86ab931fa4338cf587894265078e346a3cb5a3b919bc3b5aba7a0eab9bb8a72e16dcce96efbec43764f4d47df08d6c2011d57994e958a6b295cc
7
+ data.tar.gz: 449db5cde90d0ba2bdbfc4df356c2eca24eab9464f88f149229b4cddaf63ce03cb1bcdf211af60af443db1a411ecfd800e98f871b6c717747da8863620ce33a7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,8 @@
1
1
  ## Authentication Zero 2.16.16 ##
2
2
 
3
3
  * Add recovery codes to two factor auth
4
+ * Removed code-verifiable strategy
5
+ * Respond password reset edit api with no_content
4
6
 
5
7
  ## Authentication Zero 2.16.15 ##
6
8
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- authentication-zero (2.16.16)
4
+ authentication-zero (2.16.17)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module AuthenticationZero
2
- VERSION = "2.16.16"
2
+ VERSION = "2.16.17"
3
3
  end
@@ -62,6 +62,7 @@ class AuthenticationGenerator < Rails::Generators::Base
62
62
  migration_template "migrations/create_password_reset_tokens_migration.rb", "#{db_migrate_path}/create_password_reset_tokens.rb"
63
63
  migration_template "migrations/create_sign_in_tokens_migration.rb", "#{db_migrate_path}/create_sign_in_tokens_migration.rb" if passwordless?
64
64
  migration_template "migrations/create_events_migration.rb", "#{db_migrate_path}/create_events.rb" if options.trackable?
65
+ migration_template "migrations/create_recovery_codes_migration.rb", "#{db_migrate_path}/create_recovery_codes.rb" if two_factor?
65
66
  end
66
67
 
67
68
  def create_models
@@ -72,6 +73,7 @@ class AuthenticationGenerator < Rails::Generators::Base
72
73
  template "models/sign_in_token.rb", "app/models/sign_in_token.rb" if passwordless?
73
74
  template "models/current.rb", "app/models/current.rb"
74
75
  template "models/event.rb", "app/models/event.rb" if options.trackable?
76
+ template "models/recovery_code.rb", "app/models/recovery_code.rb" if two_factor?
75
77
  end
76
78
 
77
79
  def create_fixture_file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authentication-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.16.16
4
+ version: 2.16.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nixon