mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #2003] [CLOSED] Restore password via email #7654
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/2003
Author: @juliojesusvizcaino
Created: 5/6/2024
Status: ❌ Closed
Base:
dev← Head:restore-password📝 Commits (3)
32ea131Restore password via forgot password email4bcc785Extend reset password token validity to 7 days, include plain text link in email17ad70bRename mail to email📊 Changes
45 files changed (+698 additions, -30 deletions)
View changed files
📝
.env.example(+13 -1)📝
backend/apps/web/models/auths.py(+7 -0)📝
backend/apps/web/routers/auths.py(+51 -6)📝
backend/config.py(+43 -0)📝
backend/main.py(+2 -0)📝
backend/requirements.txt(+1 -0)➕
backend/utils/reset_password.py(+90 -0)📝
src/lib/apis/auths/index.ts(+36 -0)📝
src/lib/i18n/locales/ar-BH/translation.json(+9 -0)📝
src/lib/i18n/locales/bg-BG/translation.json(+9 -0)📝
src/lib/i18n/locales/bn-BD/translation.json(+9 -0)📝
src/lib/i18n/locales/ca-ES/translation.json(+9 -0)📝
src/lib/i18n/locales/de-DE/translation.json(+10 -1)📝
src/lib/i18n/locales/dg-DG/translation.json(+9 -0)📝
src/lib/i18n/locales/en-GB/translation.json(+9 -0)📝
src/lib/i18n/locales/en-US/translation.json(+9 -0)📝
src/lib/i18n/locales/es-ES/translation.json(+9 -0)📝
src/lib/i18n/locales/fa-IR/translation.json(+9 -0)📝
src/lib/i18n/locales/fi-FI/translation.json(+9 -0)📝
src/lib/i18n/locales/fr-CA/translation.json(+9 -0)...and 25 more files
📄 Description
Pull Request Checklist
Description
Allow users to restore their password via email.
Changelog Entry
Added
Additional Information
/api/v1/auths/request-password-resetfrontend/auth/reset-password?token=<the jwt>.Reset Passwordlink.frontend/auth/reset-password?token=<the jwt>.Reset Password. It makes a POST request to/api/v1/auths/reset-password.For this to work, configure some environment variables:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.