diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2023-01-31 14:45:55 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2023-01-31 14:45:55 +0530 |
commit | 894042060791ec106ad12ddf1b4a7b872c4a6aa6 (patch) | |
tree | 7c305ce72b296794065fa5f36f62290a9f48ea17 /auth | |
parent | 7be2937c84c7b9e260498268c210fd6f4bebf2a3 (diff) |
Diffstat (limited to 'auth')
-rw-r--r-- | auth/refresh.go | 1 |
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) { |