Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
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
RadioObservatory
LOFAR
Merge requests
!1297
Revert Adding the Headers. (Keycloak will fail)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Revert Adding the Headers. (Keycloak will fail)
TMSS-2904-Authentication-State
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Reinder Kraaij
requested to merge
TMSS-2904-Authentication-State
into
master
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
inspects
TMSS-2904
0
0
Merge request reports
Viewing commit
1dd2cb99
Show latest version
1 file
+
0
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
1dd2cb99
Revert Adding the Headers. (Keycloak will fail)
· 1dd2cb99
Reinder Kraaij
authored
1 year ago
SAS/TMSS/backend/src/tmss/tmssapp/views.py
+
0
−
2
Options
@@ -68,8 +68,6 @@ def revoke_token_deauth(request, *args, **kwargs):
return
HttpResponse
(
status
=
204
)
@api_view
([
'
GET
'
])
@authentication_classes
([])
@permission_classes
([
AllowAny
])
def
authentication_state
(
request
):
if
not
request
.
user
.
is_authenticated
:
username
=
request
.
query_params
.
get
(
'
username
'
,
None
)
Loading