From b4d7617967cad2aa2406e5a5249a030ded1e5219 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 19 Nov 2020 20:08:27 +0200 Subject: [PATCH] Make force logout the default --- provisioning.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provisioning.go b/provisioning.go index d3f5fb1..5b19ae6 100644 --- a/provisioning.go +++ b/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 {