1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

added user email verification bit

This commit is contained in:
Kyle Spearrin
2016-02-21 00:50:53 -05:00
parent 5d7a0216bf
commit f3e3474746
8 changed files with 15 additions and 1 deletions

View File

@ -140,6 +140,7 @@ namespace Bit.Core.Services
}
user.Email = newEmail;
user.EmailVerified = true;
await _cipherRepository.UpdateUserEmailPasswordAndCiphersAsync(user, ciphers);
return IdentityResult.Success;
}