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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff678f09826117ad5fa3565501da31b00c427530
|
4
|
+
data.tar.gz: 756ae56d425b019a5d60f2d771f86b5c82f6995e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|