ibrain-auth 0.3.12 → 0.3.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/ibrain/user.rb +1 -1
- data/lib/ibrain/auth/version.rb +1 -1
- 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: 8c4349772e38156afa066d4fda39aba790be46230aea760585ac2857fdbd1562
|
4
|
+
data.tar.gz: a564f50845cdd14359f57a3ee0c1fde568adea39109c0330c60a5a5904b74723
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 248e52d90169fb7905e805556065cadab6c69ddfd6aa79edc0c90b0fb8261e25c1ad5ec2e4793af4b87f1c7978293f8d05cc626514ab6b2fb315ccd7d67e5250
|
7
|
+
data.tar.gz: 0ca26294856bdac8bb949880dfcc06ce9e66c0ca809e720e3b3b72cd9b40c2e1a222867ebd077e3c9ac44bb3265e9155956e585adbbe98e50f314a97ff8fcc88
|
data/app/models/ibrain/user.rb
CHANGED
@@ -9,7 +9,7 @@ module Ibrain
|
|
9
9
|
self.abstract_class = true
|
10
10
|
self.table_name = Ibrain::Auth::Config.user_table_name
|
11
11
|
|
12
|
-
|
12
|
+
devise(*Ibrain::Auth::Config.devise_enabled_modules, jwt_revocation_strategy: self, omniauth_providers: Ibrain::Auth::Config.devise_omniauth_providers)
|
13
13
|
|
14
14
|
scope :find_by_line, ->(uid) {
|
15
15
|
find_by(uid: uid, provider: 'line')
|
data/lib/ibrain/auth/version.rb
CHANGED