Skip to content

Commit a065c37

Browse files
committed
fixed save issue
1 parent 6c62f81 commit a065c37

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

project/backend/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,9 @@
154154

155155
REST_FRAMEWORK = {
156156
"DEFAULT_PERMISSION_CLASSES": [
157-
"rest_framework.permissions.IsAuthenticatedOrReadOnly",
157+
"rest_framework.permissions.AllowAny", # Views handle auth via Firebase middleware
158158
],
159+
"DEFAULT_AUTHENTICATION_CLASSES": [], # Disable DRF auth, using Firebase middleware
159160
"DEFAULT_THROTTLE_CLASSES": [
160161
"rest_framework.throttling.AnonRateThrottle",
161162
"rest_framework.throttling.UserRateThrottle",

0 commit comments

Comments
 (0)