Commit b4d76179 authored by Tulir Asokan's avatar Tulir Asokan 🐈

Make force logout the default

parent b24672d6
Pipeline #1839 passed with stages
in 1 minute and 22 seconds
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment