doorkeeper_hub 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/doorkeeper_hub/configurator.rb +1 -1
- data/lib/doorkeeper_hub/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: 07fa5f205460e10730489d6c99b4196f08cbf611d1f36382b962f67a62a4267e
|
4
|
+
data.tar.gz: b6d027731a58e20021f88924c2548070bccd72d85ea134fdce56b5778882b9c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a2fe42844ec7e72c1a0441e7b00b32a92e00a63b4364c697ea196fbecbef1a97d4283caa9dc98f00f653aee6ca24ab601d3415e0239930fef714835a0f3b15c
|
7
|
+
data.tar.gz: a5d16c7967fc794276f72b9193783e11b5e262f97cebf455b3df11b543ed95932acde27b450b9d7b8ead16b643e7659fc20b9c8a2374f2a74cf37e6ee5ada19e
|
@@ -8,7 +8,7 @@ module DoorkeeperHub
|
|
8
8
|
|
9
9
|
def initialize
|
10
10
|
self.service_token = ENV["SERVICE_TOKEN"]
|
11
|
-
self.scope_model = ::Company
|
11
|
+
self.scope_model = DoorkeeperHub.client_mode? ? nil : ::Company
|
12
12
|
self.user_model = ::User
|
13
13
|
self.doorkeeper_token_name = :doorkeeper_token
|
14
14
|
self.client_mode = false
|