Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Conversation

@mvilanova
Copy link
Contributor

No description provided.

@mvilanova mvilanova requested a review from Copilot May 20, 2025 18:31
@mvilanova mvilanova self-assigned this May 20, 2025
@mvilanova mvilanova added the bug Something isn't working label May 20, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses a type error when encoding passwords by adding a branch to handle scenarios where the password may be None (such as with SSO users) and updates the method from .dict to .model_dump.

  • Added a conditional to check for None before encoding the password.
  • Updated the pydantic model call from .dict to .model_dump for excluding certain fields during user creation.

@mvilanova mvilanova merged commit 0cd6cc2 into main May 20, 2025
9 checks passed
@mvilanova mvilanova deleted the fix/typeerror-encoding-wo-string branch May 20, 2025 18:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants