brycesch-devise_oauth2_providable 1.2.0 → 1.2.1

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
  SHA1:
3
- metadata.gz: 09dbe4d5fdfe303bf1b13d2e683ccd6abd30419c
4
- data.tar.gz: 74ff05e0eb6663d40484e121e573e90b9ddda358
3
+ metadata.gz: ff678f09826117ad5fa3565501da31b00c427530
4
+ data.tar.gz: 756ae56d425b019a5d60f2d771f86b5c82f6995e
5
5
  SHA512:
6
- metadata.gz: e6cf5f68adf86cd7bbd8c986738554c31bc729fe6f4cff39f535cabcd9cc3b16d487503ceda1ec6ec443ee2b33b8679bf2e1f9ae5a3105fd49e3767912dd9d89
7
- data.tar.gz: c97a6bacf12d426766462f4cbe1ac479615bb597404ed3fd3b4a02e78aa975fbff25b83df3772b02fce63e6e8066c8266b4d23993aca05cef087a8a5d85da37e
6
+ metadata.gz: 9e697c457bc740da9d6a911167b331e652d041a435c3cb133d6926d25e6410a996eaff1c2c6b4fc18053e27e471fd1470348fca23c296547aba3f66bb44fb212
7
+ data.tar.gz: f1b15556ca8553705b3dd3b554860566c1cfe6808fdc508ad634fad31c6d3f425f29142003a662815f95fd00d9260799a99dda4f27d517f62d1dedbafe6bbf11
@@ -12,7 +12,7 @@ module Devise
12
12
  if validate(resource) { resource.valid_password?(params[:password]) }
13
13
  success! resource
14
14
  else
15
- oauth_error! :invalid_grant, I18n.t("devise.failure.#{resource.unauthenticated_message}")
15
+ oauth_error! :invalid_grant, I18n.t("devise.failure.#{resource.unauthenticated_message}", authentication_keys: mapping.to.authentication_keys)
16
16
  end
17
17
  end
18
18
  end
@@ -1,5 +1,5 @@
1
1
  module Devise
2
2
  module Oauth2Providable
3
- VERSION = "1.2.0"
3
+ VERSION = "1.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brycesch-devise_oauth2_providable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Sonnek