mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: reset password url (#1220)
* chore: reset password url * dev: update password reset endpoint * dev: update reset password url
This commit is contained in:
parent
b6c0ddac50
commit
fae9d8cdc1
@ -170,7 +170,7 @@ urlpatterns = [
|
||||
),
|
||||
# Password Manipulation
|
||||
path(
|
||||
"password-reset/<uidb64>/<token>/",
|
||||
"reset-password/<uidb64>/<token>/",
|
||||
ResetPasswordEndpoint.as_view(),
|
||||
name="password-reset",
|
||||
),
|
||||
|
@ -16,7 +16,7 @@ from plane.db.models import User
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user