[오승석] 계정 삭제

- 테스트로 게스트계정 예외처리 넣었던부분 제거
This commit is contained in:
2024-07-15 18:05:15 +09:00
parent 8f9b9cf402
commit 97e0effc61

View File

@ -851,13 +851,11 @@ func (sh *serviceDescription) delacc(w http.ResponseWriter, r *http.Request) {
} }
originAuthType := sType originAuthType := sType
if !*noauth && !*devflag { sType, sId, err = sh.getProviderInfo(sType, sId)
sType, sId, err = sh.getProviderInfo(sType, sId) if err != nil {
if err != nil { logger.Error("delacc failed. getProviderInfo err :", err)
logger.Error("delacc failed. getProviderInfo err :", err) w.WriteHeader(http.StatusBadRequest)
w.WriteHeader(http.StatusBadRequest) return
return
}
} }
if authInfo.Uid != sId || authInfo.Platform != sType { if authInfo.Uid != sId || authInfo.Platform != sType {