[이민권] 계정 삭제
- 계정 삭제 취소 기능 추가
This commit is contained in:
@ -688,8 +688,8 @@ func (sh *serviceDescription) authorize(w http.ResponseWriter, r *http.Request)
|
||||
return
|
||||
}
|
||||
if link["_ts"] != nil {
|
||||
delts := link["_ts"].(primitive.Timestamp)
|
||||
if !delts.IsZero() {
|
||||
delts := link["_ts"].(primitive.DateTime)
|
||||
if !delts.Time().IsZero() {
|
||||
// 삭제된 계정. 삭제 되었다고 알려주자
|
||||
w.Header().Add("MG-ACCOUNT-DELETED", "TRUE")
|
||||
w.WriteHeader(http.StatusUnauthorized)
|
||||
|
||||
Reference in New Issue
Block a user