mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
fix the duplicate email issue (#3891)
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
This commit is contained in:
parent
03217e8f8f
commit
532b70e26c
@ -338,8 +338,6 @@ public class UserService : UserManager<User>, IUserService, IDisposable
|
||||
var result = await base.CreateAsync(user, masterPassword);
|
||||
if (result == IdentityResult.Success)
|
||||
{
|
||||
await _mailService.SendWelcomeEmailAsync(user);
|
||||
|
||||
if (!string.IsNullOrEmpty(user.ReferenceData))
|
||||
{
|
||||
var referenceData = JsonConvert.DeserializeObject<Dictionary<string, object>>(user.ReferenceData);
|
||||
|
Loading…
Reference in New Issue
Block a user