mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 17:23:04 +03:00
[PR #1966] [MERGED] Fix issue when using uppercase chars in emails #3333
Reference in New Issue
Block a user
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.