CSRF backend issue fixed. If cookies are maintained, it seems to work.
This commit is contained in:
parent
20d0c48839
commit
c8ae149510
2 changed files with 1 additions and 1 deletions
BIN
back/db.sqlite3
BIN
back/db.sqlite3
Binary file not shown.
|
@ -54,8 +54,8 @@ REST_FRAMEWORK = {
|
||||||
'rest_framework.permissions.IsAuthenticated',
|
'rest_framework.permissions.IsAuthenticated',
|
||||||
],
|
],
|
||||||
'DEFAULT_AUTHENTICATION_CLASSES': [
|
'DEFAULT_AUTHENTICATION_CLASSES': [
|
||||||
'rest_framework.authentication.SessionAuthentication',
|
|
||||||
'reimbursinator.custom_auth.BearerAuthentication',
|
'reimbursinator.custom_auth.BearerAuthentication',
|
||||||
|
'rest_framework.authentication.SessionAuthentication',
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue