Skip to content

Commit

Permalink
fix: DRF authentication classes priority
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Nov 5, 2024
1 parent 5a256eb commit f614d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uniticket/uni_ticket_project/settingslocal.py.example
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ INTERNAL_IPS = (

REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.TokenAuthentication',
'rest_framework.authentication.SessionAuthentication',
],
'DEFAULT_PERMISSION_CLASSES': [
'rest_framework.permissions.IsAuthenticated'
Expand Down

0 comments on commit f614d1d

Please sign in to comment.