Make force logout the default

This commit is contained in:
Tulir Asokan 2020-11-19 20:08:27 +02:00
parent b24672d6b4
commit b4d7617967

View file

@ -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 {