diff options
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) |