Remove provisioning API QR code regen limit

This commit is contained in:
Tulir Asokan 2020-02-09 21:00:29 +02:00
parent 16dc3c8699
commit 260555b69c

View file

@ -309,7 +309,7 @@ func (prov *ProvisioningAPI) Login(w http.ResponseWriter, r *http.Request) {
}) })
} }
}() }()
session, err := user.Conn.LoginWithRetry(qrChan, 0) //user.bridge.Config.Bridge.LoginQRRegenCount) session, err := user.Conn.LoginWithRetry(qrChan, user.bridge.Config.Bridge.LoginQRRegenCount)
qrChan <- "stop" qrChan <- "stop"
if err != nil { if err != nil {
var msg string var msg string