Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-pylib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-pylib
Commits
96fee41a
Commit
96fee41a
authored
6 months ago
by
I. Nüske
Browse files
Options
Downloads
Patches
Plain Diff
MNT: Adjust logout request to match documentation
parent
152377eb
Branches
f-parse-value
No related tags found
2 merge requests
!175
BUG: Request responses without the "Set-Cookie" header no longer overwrite the...
,
!162
Prevent auth_token from being overwritten with None
Pipeline
#57985
passed with warnings
6 months ago
Stage: code_style
Stage: linting
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/linkahead/connection/authentication/interface.py
+1
-1
1 addition, 1 deletion
src/linkahead/connection/authentication/interface.py
with
1 addition
and
1 deletion
src/linkahead/connection/authentication/interface.py
+
1
−
1
View file @
96fee41a
...
@@ -191,7 +191,7 @@ class CredentialsAuthenticator(AbstractAuthenticator):
...
@@ -191,7 +191,7 @@ class CredentialsAuthenticator(AbstractAuthenticator):
def
_logout
(
self
):
def
_logout
(
self
):
self
.
logger
.
debug
(
"
[LOGOUT]
"
)
self
.
logger
.
debug
(
"
[LOGOUT]
"
)
if
self
.
auth_token
is
not
None
:
if
self
.
auth_token
is
not
None
:
self
.
_connection
.
request
(
method
=
"
DEL
ET
E
"
,
path
=
"
logout
"
)
self
.
_connection
.
request
(
method
=
"
G
ET
"
,
path
=
"
logout
"
)
self
.
auth_token
=
None
self
.
auth_token
=
None
def
_login
(
self
):
def
_login
(
self
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment