dify icon indicating copy to clipboard operation
dify copied to clipboard

Feat/new login

Open ZhouhaoJiang opened this issue 1 year ago • 1 comments

Checklist:

[!IMPORTANT]
Please review the checklist below before submitting your pull request.

  • [x] Please open an issue before creating a PR or link to an existing issue
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

Description

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue. Close issue syntax: Fixes #<issue number>, see documentation for more details.

Fixes

Type of Change

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] This change requires a documentation update, included: Dify Document
  • [ ] Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement
  • [ ] Dependency upgrade

Testing Instructions

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • [ ] Test A
  • [ ] Test B

ZhouhaoJiang avatar Sep 09 '24 05:09 ZhouhaoJiang

Huỳnh Thể Hồng

Vào Th 7, 14 thg 9, 2024 lúc 15:07 Garfield Dai @.***> đã viết:

@.**** commented on this pull request.

In api/controllers/console/auth/error.py https://github.com/langgenius/dify/pull/8120#discussion_r1759692951:

@@ -29,3 +29,15 @@ class PasswordResetRateLimitExceededError(BaseHTTPException): error_code = "password_reset_rate_limit_exceeded" description = "Password reset rate limit exceeded. Try again later." code = 429

+class EmailCodeError(BaseHTTPException):

  • error_code = "email_code_error"
  • description = "Email code is invalid or expired."
  • code = 400

+class EmailOrPasswordMismatchError(BaseHTTPException):

incorrect

— Reply to this email directly, view it on GitHub https://github.com/langgenius/dify/pull/8120#pullrequestreview-2304404087, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCUATVHTS6FBGRZAXJMET23ZWPVCNAVCNFSM6AAAAABN3YO562VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGMBUGQYDIMBYG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

rosehuynh92 avatar Sep 14 '24 08:09 rosehuynh92