ibrain-auth 0.3.19 → 0.3.20

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: f37a4950b0e6847c3b794de0a8c9ab0b02a45ded4419ac6492858a09825ed171
4
- data.tar.gz: f69f51c5a9d672e49238fa5a039d10cf2295b67968b6fa513125be2998a94a2b
3
+ metadata.gz: 75d947397dac2270ffc50a5b0d2b3bfaa9aa5c2b474d117e23f8d697bb3ea905
4
+ data.tar.gz: c254adca3fa5cefb933fdc3bfd6ad498c9fbdf78137b4dd55cf508a9476e40b3
5
5
  SHA512:
6
- metadata.gz: 98b317409d15047ffddc9295aadb788344e2b81c3237fa60bacb0d633cdb5c16c43937b777c4f37949e35855833d2202610b30cb8aa0451fd8285082e3948971
7
- data.tar.gz: 208492146cd89b13800f50d551cc628f5e640475e351b4ed6895798f96524100a67153f19ae0d62a39946ac94cfe1c32b18b175ce2e04fb928d9263511bd4b72
6
+ metadata.gz: ab74c7e5adfd288049f970d8a13bfb87d9c7ff9597f5a4c4420b050925d577cd96dc910ad614e83d1cad7f5b8038f4e84397f00072c87ffb0446bdb84648be97
7
+ data.tar.gz: e9d2351003d081b8c3d14794fe62fbf0813a1b2c0d5d973a4f4ef143e979749cb1dfe213eaa8a2abad7f02dc79893e766fae4d226e2c5726e95d25a4f0388207
@@ -24,7 +24,7 @@ module Ibrain::Mutations
24
24
  raise ActionController::InvalidAuthenticityToken, I18n.t('ibrain.errors.account.is_deactivated')
25
25
  end
26
26
 
27
- warden.set_user(current_user)
27
+ # warden.set_user(current_user)
28
28
  current_user.jwt_token, jti = auth_headers(request, auth_resource)
29
29
  current_user.jti = jti
30
30
  current_user.save!
@@ -20,7 +20,7 @@ module Ibrain::Mutations
20
20
  raise ActionController::InvalidAuthenticityToken, I18n.t('ibrain.errors.account.is_deactivated')
21
21
  end
22
22
 
23
- warden.set_user(current_user)
23
+ # warden.set_user(current_user)
24
24
  current_user.jwt_token, jti = auth_headers(request, auth_resource)
25
25
  current_user.jti = jti
26
26
  current_user.save!
@@ -4,7 +4,7 @@ module Ibrain
4
4
  # frozen_string_literal: true
5
5
 
6
6
  module Auth
7
- VERSION = '0.3.19'
7
+ VERSION = '0.3.20'
8
8
 
9
9
  def self.ibrain_auth_version
10
10
  VERSION
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ibrain-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.19
4
+ version: 0.3.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tai Nguyen Van
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-20 00:00:00.000000000 Z
11
+ date: 2023-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: devise