mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-05 21:45:25 +02:00
fix: Corrected generated password reset links (#2633)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
parent
cb1769a352
commit
5f0a9981f3
2 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ export default defineComponent({
|
|||
|
||||
if (response?.status === 201 && data) {
|
||||
const token: string = data.token;
|
||||
resetUrl.value = `${window.location.origin}/reset-password?token=${token}`;
|
||||
resetUrl.value = `${window.location.origin}/reset-password/?token=${token}`;
|
||||
}
|
||||
|
||||
generatingToken.value = false;
|
||||
|
|
|
@ -40,7 +40,7 @@ class PasswordResetService(BaseService):
|
|||
|
||||
# Send Email
|
||||
email_servive = EmailService()
|
||||
reset_url = f"{self.settings.BASE_URL}/reset-password?token={token_entry.token}"
|
||||
reset_url = f"{self.settings.BASE_URL}/reset-password/?token={token_entry.token}"
|
||||
|
||||
try:
|
||||
email_servive.send_forgot_password(email, reset_url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue