devise-heroku-sso 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/devise-heroku-sso.rb +1 -1
- data/lib/devise-heroku-sso/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd8b3ca728de8685a0f04451e1e468db15029048
|
4
|
+
data.tar.gz: d16db051b0826a39d813d07dc8d586d8515fc6fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50968bee7cd8c313ad4762249d51d9bfba4eedf1ed41cd366426bd573bcf79841cf22eb5c054f3a127b4e8bf0d4c7b80caa3a040d50a16ea88035542fdb73b5f
|
7
|
+
data.tar.gz: 06deba56006ae0e2a617f204639b976691b5f3729d612a7683bc381cb61aebbf04199c53c358358d63d61e5c64cf42047d994ebcf7fc2ed771954b99d18c9479
|
data/lib/devise-heroku-sso.rb
CHANGED
@@ -3,7 +3,7 @@ require 'devise/strategies/authenticatable'
|
|
3
3
|
module HerokuSso
|
4
4
|
class CustomStrategy < Devise::Strategies::Authenticatable
|
5
5
|
def valid?
|
6
|
-
::Rails.logger.warn "[HEROKU-SSO] valid: #{valid_token} && #{!token_expired?} "
|
6
|
+
::Rails.logger.warn "[HEROKU-SSO] valid: #{valid_token?} && #{!token_expired?} "
|
7
7
|
valid_token? && !token_expired?
|
8
8
|
end
|
9
9
|
|