We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a661f71 commit f70b33dCopy full SHA for f70b33d
1 file changed
app/Http/Controllers/Remote/RemoteController.php
@@ -123,6 +123,7 @@ public function getConfiguration(Request $request, $tokenString)
123
// Check if token is expired
124
if ($token->expires_at->lt(Carbon::now())) {
125
$token->delete();
126
+
127
return response(json_encode(['error' => 'token_expired']), 403)
128
->header('Content-Type', 'application/json');
129
}
0 commit comments