Skip to content

Commit

Permalink
rollback code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Oct 13, 2020
1 parent fcb5f9c commit 734bfa3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions web/controller/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ func UpdateUser(id uint, username string, password string) *ResponseBody {
}
if err := mysql.UpdateUser(id, username, password, string(pass)); err != nil {
responseBody.Msg = err.Error()
} else {
Restart()
}
return &responseBody
}
Expand Down

0 comments on commit 734bfa3

Please sign in to comment.