Skip to content

Commit 7e85ecb

Browse files
Merge pull request #70 from openclassify/spektra2147-removed-1
removed ignoreRoutes()
2 parents 5dfd154 + 8f3e94a commit 7e85ecb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/ConnectModuleServiceProvider.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ function () {
104104
);
105105

106106
// Set Expire Time
107-
Passport::ignoreRoutes();
108107
if ($request->has('device_type') && $request->get('device_type') == 'mobile') {
109108
Passport::tokensExpireIn(Carbon::now()->addMonth(6));
110109
Passport::refreshTokensExpireIn(Carbon::now()->addMonth(7));
@@ -133,8 +132,6 @@ public function map(Router $router)
133132
$this->mapRouters($router);
134133
$this->mapStreamsApi($router);
135134
$this->mapEntriesApi($router);
136-
137-
Passport::ignoreRoutes();
138135
}
139136

140137
/**

0 commit comments

Comments
 (0)