diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2023-01-29 20:45:43 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2023-01-29 20:45:43 +0530 |
commit | 68629768cbb7c86fd4b118e7d555450297f3fb8a (patch) | |
tree | e5bb06635ddf50bc58e25bae931ac453a28f844a /user/password.go | |
parent | 7ee07197f4fc5806e72a1aefd49c7a448c600cf4 (diff) |
moved refresh mechanism to package auth
Diffstat (limited to 'user/password.go')
-rw-r--r-- | user/password.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user/password.go b/user/password.go index d667ebc..df3811b 100644 --- a/user/password.go +++ b/user/password.go @@ -26,7 +26,7 @@ import ( "net/http" ) -func checkPassword() gin.HandlerFunc { +func CheckPassword() gin.HandlerFunc { return func(ctx *gin.Context) { var u User ctx.BindJSON(&u) |