Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(frontend): Reset password page #8987

Merged
merged 4 commits into from
Dec 17, 2024

Conversation

kcze
Copy link
Contributor

@kcze kcze commented Dec 14, 2024

Currently, users have no way to reset their password.

Changes 🏗️

Add reset_password page that displays either form to send reset password email or lets logged in user change their password. Login page now shows clickable "Forgot your password?" link. After updating password user is logged out and redirected to login page.

Note: Link provided in the email just logs user in and redirects to reset password form but password update isn't enforced.

Screenshot 2024-12-14 at 1 28 39 PM

Checklist 📋

For code changes:

  • I have clearly listed my changes in the PR description
  • I have made a test plan
  • I have tested my changes according to the test plan:
    • Email is sent
    • Link in the email logs user in and redirects to reset password form
    • Reset password form works
Example test plan
  • Create from scratch and execute an agent with at least 3 blocks
  • Import an agent from file upload, and confirm it executes correctly
  • Upload agent to marketplace
  • Import an agent from marketplace and confirm it executes correctly
  • Edit an agent from monitor, and confirm it executes correctly

For configuration changes:

  • .env.example is updated or already compatible with my changes
  • docker-compose.yml is updated or already compatible with my changes
  • I have included a list of my configuration changes in the PR description (under Changes)
Examples of configuration changes
  • Changing ports
  • Adding new services that need to communicate with each other
  • Secrets or environment variable changes
  • New or infrastructure changes such as databases

@kcze kcze requested a review from a team as a code owner December 14, 2024 12:27
@kcze kcze requested review from Bentlybro, aarushik93, ntindle and Abhi1992002 and removed request for a team and aarushik93 December 14, 2024 12:27
Copy link

netlify bot commented Dec 14, 2024

Deploy Preview for auto-gpt-docs-dev canceled.

Name Link
🔨 Latest commit 4bffd62
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs-dev/deploys/675d79981f2f2d0008ffd828

@github-actions github-actions bot added platform/frontend AutoGPT Platform - Front end platform/backend AutoGPT Platform - Back end size/l labels Dec 14, 2024
Copy link

netlify bot commented Dec 14, 2024

Deploy Preview for auto-gpt-docs-dev canceled.

Name Link
🔨 Latest commit 4315f1c
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs-dev/deploys/6761bd894e86830008835b18

Copy link

netlify bot commented Dec 14, 2024

Deploy Preview for auto-gpt-docs failed.

Name Link
🔨 Latest commit 4bffd62
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/675d79987ce21a0008fa6796

Copy link

netlify bot commented Dec 14, 2024

Deploy Preview for auto-gpt-docs ready!

Name Link
🔨 Latest commit 4315f1c
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/6761bd898d4aba0008ae3927
😎 Deploy Preview https://deploy-preview-8987--auto-gpt-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@kcze kcze marked this pull request as draft December 16, 2024 10:33
@Swiftyos
Copy link
Contributor

Can't wait for this, it's very much needed!

@kcze kcze marked this pull request as ready for review December 17, 2024 18:04
@kcze kcze added this pull request to the merge queue Dec 17, 2024
Merged via the queue into dev with commit 0e10e62 Dec 17, 2024
20 checks passed
@kcze kcze deleted the kpczerwinski/open-2197-reset-password-flow branch December 17, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/backend AutoGPT Platform - Back end platform/frontend AutoGPT Platform - Front end size/l
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants