[오승석] 계정 삭제
- 테스트로 게스트계정 예외처리 넣었던부분 제거
This commit is contained in:
@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user