Parcourir la source

Make force logout the default

Tulir Asokan il y a 4 ans
Parent
commit
b4d7617967
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      provisioning.go

+ 1 - 1
provisioning.go

@@ -282,7 +282,7 @@ func (prov *ProvisioningAPI) Logout(w http.ResponseWriter, r *http.Request) {
 		return
 	}
 
-	force := strings.ToLower(r.URL.Query().Get("force")) == "true"
+	force := strings.ToLower(r.URL.Query().Get("force")) != "false"
 
 	if user.Conn == nil {
 		if !force {