Explorar o código

Don't close login websocket on multidevice disabled error

Tulir Asokan %!s(int64=3) %!d(string=hai) anos
pai
achega
b9d918a1d1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      provisioning.go

+ 1 - 0
provisioning.go

@@ -326,6 +326,7 @@ func (prov *ProvisioningAPI) Login(w http.ResponseWriter, r *http.Request) {
 					Error:   "Please enable the WhatsApp multidevice beta and scan the QR code again.",
 					ErrCode: "multidevice not enabled",
 				})
+				continue
 			default:
 				_ = c.WriteJSON(map[string]interface{}{
 					"code": string(evt),