aboutsummaryrefslogtreecommitdiff
path: root/backend/api/auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/api/auth.go')
-rw-r--r--backend/api/auth.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/backend/api/auth.go b/backend/api/auth.go
index 91ef80c..621a68b 100644
--- a/backend/api/auth.go
+++ b/backend/api/auth.go
@@ -5,10 +5,11 @@ import (
5 "os" 5 "os"
6 "time" 6 "time"
7 7
8 "lphub/database"
9 "lphub/models"
10
8 "github.com/gin-gonic/gin" 11 "github.com/gin-gonic/gin"
9 "github.com/golang-jwt/jwt/v4" 12 "github.com/golang-jwt/jwt/v4"
10 "github.com/pektezol/leastportalshub/backend/database"
11 "github.com/pektezol/leastportalshub/backend/models"
12) 13)
13 14
14func CheckAuth(c *gin.Context) { 15func CheckAuth(c *gin.Context) {