mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[PR #1966] [MERGED] Fix issue when using uppercase chars in emails #3030
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#3030
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/dani-garcia/vaultwarden/pull/1966
Author: @BlackDex
Created: 9/7/2021
Status: ✅ Merged
Merged: 9/9/2021
Merged by: @dani-garcia
Base:
main← Head:issue-1963📝 Commits (1)
10d5c77Fix issue when using uppercase chars in emails📊 Changes
4 files changed (+18 additions, -15 deletions)
View changed files
📝
src/api/admin.rs(+1 -1)📝
src/api/core/accounts.rs(+9 -8)📝
src/api/core/organizations.rs(+4 -3)📝
src/db/models/user.rs(+4 -3)📄 Description
In the case when SMTP is disabled and.
when inviting new users either via the admin interface or into an
organization and using uppercase letters, this would fail for those
users to be able to register since the checks which were done are
case-sensitive and never matched.
This PR fixes that issue by ensuring everything is lowercase.
Fixes #1963
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.