ishapi 0.1.8.135 → 0.1.8.136
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/ishapi/application_controller.rb +1 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5339296869058b6d82a54995cceebfd6006e45050a1964efeae15decc76ba82d
|
4
|
+
data.tar.gz: d46ff74f622cee0e0f133305f3253a23ea9bbcf321bcc7489f59dbb3a21f23d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13fac7d4bf3e24d386c2f192cfa2cfdf3210e51d77f2a9df305a15ffd67b2c8a2e65a5cd85eff0b368df4b0501f1352fc3d7ea9b4760c39c998b073908796e22
|
7
|
+
data.tar.gz: ca09ad85b5a644461a68cd2aa80192cabcfd267f9f4fc3a5eb6e74cf44ad790375a163192d43bc38b4689a7c410eb3c66b3c7be9d7a10591e3a4cefccfc6a66c
|
@@ -8,15 +8,13 @@ module Ishapi
|
|
8
8
|
# before_action :check_profile, except: [ :test ]
|
9
9
|
# before_action :set_current_ability
|
10
10
|
|
11
|
-
check_authorization
|
11
|
+
check_authorization except: [ :long_term_token ]
|
12
12
|
skip_before_action :verify_authenticity_token
|
13
13
|
|
14
14
|
def test
|
15
15
|
end
|
16
16
|
|
17
17
|
def long_term_token
|
18
|
-
authorize! :long_term_token, ::Ishapi
|
19
|
-
|
20
18
|
accessToken = request.headers[:accessToken]
|
21
19
|
accessToken ||= params[:accessToken]
|
22
20
|
|