From 260555b69ccd20f247405e4d8cab3d49fabda070 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 9 Feb 2020 21:00:29 +0200 Subject: [PATCH] Remove provisioning API QR code regen limit --- provisioning.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provisioning.go b/provisioning.go index 4245b03..19d68ce 100644 --- a/provisioning.go +++ b/provisioning.go @@ -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" if err != nil { var msg string