Skip to content

Commit 734bfa3

Browse files
committed
rollback code
1 parent fcb5f9c commit 734bfa3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

web/controller/user.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ func UpdateUser(id uint, username string, password string) *ResponseBody {
115115
}
116116
if err := mysql.UpdateUser(id, username, password, string(pass)); err != nil {
117117
responseBody.Msg = err.Error()
118-
} else {
119-
Restart()
120118
}
121119
return &responseBody
122120
}

0 commit comments

Comments
 (0)