Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Tulir Asokan
mautrix-whatsapp
Commits
b4d76179
Commit
b4d76179
authored
Nov 19, 2020
by
Tulir Asokan
🐈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make force logout the default
parent
b24672d6
Pipeline
#1839
passed with stages
in 1 minute and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
provisioning.go
provisioning.go
+1
-1
No files found.
provisioning.go
View file @
b4d76179
...
...
@@ -282,7 +282,7 @@ func (prov *ProvisioningAPI) Logout(w http.ResponseWriter, r *http.Request) {
return
}
force
:=
strings
.
ToLower
(
r
.
URL
.
Query
()
.
Get
(
"force"
))
=
=
"
tru
e"
force
:=
strings
.
ToLower
(
r
.
URL
.
Query
()
.
Get
(
"force"
))
!
=
"
fals
e"
if
user
.
Conn
==
nil
{
if
!
force
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment