summaryrefslogtreecommitdiff
path: root/auth/refresh.go
diff options
context:
space:
mode:
Diffstat (limited to 'auth/refresh.go')
-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) {