summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-01-31 14:45:55 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-01-31 14:45:55 +0530
commit894042060791ec106ad12ddf1b4a7b872c4a6aa6 (patch)
tree7c305ce72b296794065fa5f36f62290a9f48ea17 /auth
parent7be2937c84c7b9e260498268c210fd6f4bebf2a3 (diff)
added contact and address info to userHEADmain
Diffstat (limited to 'auth')
-rw-r--r--auth/refresh.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/auth/refresh.go b/auth/refresh.go
index 5b1a7df..ef01a84 100644
--- a/auth/refresh.go
+++ b/auth/refresh.go
@@ -42,6 +42,7 @@ func init() {
refreshSecret = []byte(conf.RefreshTokenSecret)
}
+// TODO: check if user even exists and send response accordingly
// middleware to check refresh token
func verifyRefreshToken() gin.HandlerFunc {
return func(ctx *gin.Context) {