mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2025-06-28 16:25:44 +08:00
Switch to JSON web token and set default host to 0.0.0.0
This commit is contained in:
parent
e567b5d399
commit
a7d5cdd56e
3 changed files with 5 additions and 2 deletions
|
@ -109,7 +109,7 @@ TEMPLATES = [
|
|||
|
||||
REST_FRAMEWORK = {
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': (
|
||||
'rest_framework.authentication.TokenAuthentication',
|
||||
'rest_framework_simplejwt.authentication.JWTAuthentication',
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue