1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-20 21:39:37 +02:00

Merge pull request #159 from seanmorley15/development

bug fix url
This commit is contained in:
Sean Morley 2024-08-04 19:00:26 -04:00 committed by GitHub
commit c01b0b43df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,9 +28,14 @@ class CustomAllAuthPasswordResetForm(AllAuthPasswordResetForm):
path = f"custom_password_reset_url/{user_pk_to_url_str(user)}/{temp_key}/" path = f"custom_password_reset_url/{user_pk_to_url_str(user)}/{temp_key}/"
url = build_absolute_uri(request, path) 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 #Values which are passed to password_reset_key_message.txt
context = { context = {
"frontend_url": settings.FRONTEND_URL, "frontend_url": frontend_url,
"user": user, "user": user,
"password_reset_url": url, "password_reset_url": url,
"request": request, "request": request,