Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Django SomOffice App
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Coopdevs
Comunitats Energètiques
SomOffice
Django SomOffice App
Commits
9d2e582d
Commit
9d2e582d
authored
2 years ago
by
Daniel Palomar
Browse files
Options
Downloads
Patches
Plain Diff
fix(auth): comment django default auth settings
parent
b39d971c
Branches
fix/use-keycloak-as-authenticatior
No related tags found
1 merge request
!4
Draft: Configure Keycloak as authentication method
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
django_somoffice/views/profile.py
+2
-2
2 additions, 2 deletions
django_somoffice/views/profile.py
with
2 additions
and
2 deletions
django_somoffice/views/profile.py
+
2
−
2
View file @
9d2e582d
...
...
@@ -23,8 +23,8 @@ logger = logging.getLogger(__name__)
class
ProfileViewSet
(
ViewSet
):
authentication_classes
=
[
SessionAuthentication
]
permission_classes
=
[
IsAuthenticated
]
authentication_classes
=
[
]
#
SessionAuthentication]
permission_classes
=
[
]
#
IsAuthenticated]
# GET /api/profile/ is list method, not ideal pero peor es morirse
def
list
(
self
,
request
):
...
...
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