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

[MM-61910] refactor: log users by email #873

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fmartingr
Copy link
Contributor

Summary

Refactors the way the users log in to use login by email instead of by username. The problem with this was that when providing a txt file with a list of email/passwords the login flow used the username extracted from the email and that may not be accurate for non-synthetic dumps.

This pull request changes the login flow to use GetLoginByEmail instead of GetLoginByUsername but still returns the internal user object with the extracted username from the email.

Ticket Link

https://mattermost.atlassian.net/browse/MM-61910

@fmartingr fmartingr added the 2: Dev Review Requires review by a core committer label Dec 13, 2024
@fmartingr fmartingr self-assigned this Dec 13, 2024
Copy link
Contributor

@streamer45 streamer45 left a comment

Choose a reason for hiding this comment

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

Makes sense 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2: Dev Review Requires review by a core committer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants