diff options
| author | 2025-03-02 16:42:51 +0100 | |
|---|---|---|
| committer | 2025-03-02 16:42:51 +0100 | |
| commit | 8488ac928651656c6f7bebf5eaabce62c2b9fb66 (patch) | |
| tree | 94357311026e5ed96862a647400375a4543dd815 /internal/middleware/tokencheck.go | |
| parent | [chore] go-swagger -> codeberg (#3856) (diff) | |
| download | gotosocial-8488ac928651656c6f7bebf5eaabce62c2b9fb66.tar.xz | |
[chore] migrate oauth2 -> codeberg (#3857)
Diffstat (limited to 'internal/middleware/tokencheck.go')
| -rw-r--r-- | internal/middleware/tokencheck.go | 2 |
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. |
