Skip to content
Snippets Groups Projects
Commit e8904548 authored by Reinder Kraaij's avatar Reinder Kraaij :eye:
Browse files

Merge branch 'TMSS-2904-Authentication-State' into 'master'

Revert Adding the Headers. (Keycloak will fail)

See merge request !1297
parents 92dae61a 1dd2cb99
No related branches found
No related tags found
1 merge request!1297Revert Adding the Headers. (Keycloak will fail)
...@@ -68,8 +68,6 @@ def revoke_token_deauth(request, *args, **kwargs): ...@@ -68,8 +68,6 @@ def revoke_token_deauth(request, *args, **kwargs):
return HttpResponse(status=204) return HttpResponse(status=204)
@api_view(['GET']) @api_view(['GET'])
@authentication_classes([])
@permission_classes([AllowAny])
def authentication_state(request): def authentication_state(request):
if not request.user.is_authenticated: if not request.user.is_authenticated:
username = request.query_params.get('username', None) username = request.query_params.get('username', None)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment