aboutsummaryrefslogtreecommitdiff
path: root/backend/api/auth.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-09-10 22:13:24 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-09-10 22:13:24 +0300
commit16165aea34a711027825b3f6512e73a0156f8068 (patch)
tree138d92b8b01c41e07a3a2316fd109ddd97e80fa6 /backend/api/auth.go
parentrefactor: update readme (diff)
downloadlphub-16165aea34a711027825b3f6512e73a0156f8068.tar.gz
lphub-16165aea34a711027825b3f6512e73a0156f8068.tar.bz2
lphub-16165aea34a711027825b3f6512e73a0156f8068.zip
refactor: move backend entry, rename module
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) {