Skip to content

Commit

Permalink
chore: reset password url (#1220)
Browse files Browse the repository at this point in the history
* chore: reset password url

* dev: update password reset endpoint

* dev: update reset password url
  • Loading branch information
pablohashescobar committed Jun 6, 2023
1 parent b6c0dda commit fae9d8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apiserver/plane/api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
),
# Password Manipulation
path(
"password-reset/<uidb64>/<token>/",
"reset-password/<uidb64>/<token>/",
ResetPasswordEndpoint.as_view(),
name="password-reset",
),
Expand Down
2 changes: 1 addition & 1 deletion apiserver/plane/bgtasks/forgot_password_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
def forgot_password(first_name, email, uidb64, token, current_site):

try:
realtivelink = f"/email-verify/?uidb64={uidb64}&token={token}/"
realtivelink = f"/reset-password/?uidb64={uidb64}&token={token}"
abs_url = current_site + realtivelink

from_email_string = settings.EMAIL_FROM
Expand Down

0 comments on commit fae9d8c

Please sign in to comment.