Browse Source

resetPassword->resetGitlabPassword

icenaked 3 years ago
parent
commit
e75bf724ef

+ 1 - 1
seecoder-portal-server/src/main/java/cn/seecoder/seecoderportalserver/web/rest/UserController.java

@@ -89,7 +89,7 @@ public class UserController {
 
     @PostMapping("/resetGitlabPassword")
     public OkResponse<Boolean> resetGitlabPassword(@RequestBody ResetPasswordDTO resetPasswordDTO) {
-        userService.resetPassword(
+        userService.resetGitlabPassword(
                 resetPasswordDTO.getPhone(),
                 resetPasswordDTO.getIdentifyCode(),
                 resetPasswordDTO.getPassword()