Set use_https to true
used for password reset urls in emails by django
This commit is contained in:
parent
13b6acf72e
commit
b480266dad
@ -597,7 +597,7 @@ class PasswordResetView(APIView):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
http_method_names = ["post"]
|
http_method_names = ["post"]
|
||||||
use_https = False # TODO: Do we use https?
|
use_https = True # TODO: get used protocol from server, see issue #4233
|
||||||
|
|
||||||
def post(self, request, *args, **kwargs):
|
def post(self, request, *args, **kwargs):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user