mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-23 06:49:37 +02:00
bug fix url
This commit is contained in:
parent
e753d023ad
commit
64dec7fe5f
1 changed files with 6 additions and 1 deletions
|
@ -28,9 +28,14 @@ class CustomAllAuthPasswordResetForm(AllAuthPasswordResetForm):
|
|||
|
||||
path = f"custom_password_reset_url/{user_pk_to_url_str(user)}/{temp_key}/"
|
||||
url = build_absolute_uri(request, path)
|
||||
|
||||
frontend_url = settings.FRONTEND_URL
|
||||
# remove ' from frontend_url
|
||||
frontend_url = frontend_url.replace("'", "")
|
||||
|
||||
#Values which are passed to password_reset_key_message.txt
|
||||
context = {
|
||||
"frontend_url": settings.FRONTEND_URL,
|
||||
"frontend_url": frontend_url,
|
||||
"user": user,
|
||||
"password_reset_url": url,
|
||||
"request": request,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue