summaryrefslogtreecommitdiff
path: root/internal/middleware/tokencheck.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/middleware/tokencheck.go')
-rw-r--r--internal/middleware/tokencheck.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/middleware/tokencheck.go b/internal/middleware/tokencheck.go
index d2570c3f0..10c77541f 100644
--- a/internal/middleware/tokencheck.go
+++ b/internal/middleware/tokencheck.go
@@ -20,11 +20,11 @@ package middleware
import (
"net/http"
+ "codeberg.org/superseriousbusiness/oauth2/v4"
"github.com/gin-gonic/gin"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/log"
"github.com/superseriousbusiness/gotosocial/internal/oauth"
- "github.com/superseriousbusiness/oauth2/v4"
)
// TokenCheck returns a new gin middleware for validating oauth tokens in requests.