Browse Source

Make force logout the default

Tulir Asokan 4 years ago
parent
commit
b4d7617967
1 changed files with 1 additions and 1 deletions
  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 {