Просмотр исходного кода

resetPassword->resetGitlabPassword

icenaked 3 лет назад
Родитель
Сommit
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")
     @PostMapping("/resetGitlabPassword")
     public OkResponse<Boolean> resetGitlabPassword(@RequestBody ResetPasswordDTO resetPasswordDTO) {
     public OkResponse<Boolean> resetGitlabPassword(@RequestBody ResetPasswordDTO resetPasswordDTO) {
-        userService.resetPassword(
+        userService.resetGitlabPassword(
                 resetPasswordDTO.getPhone(),
                 resetPasswordDTO.getPhone(),
                 resetPasswordDTO.getIdentifyCode(),
                 resetPasswordDTO.getIdentifyCode(),
                 resetPasswordDTO.getPassword()
                 resetPasswordDTO.getPassword()