1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 15:53:44 +00:00

Use UserService to manage emailVerified (#1367)

This commit is contained in:
Thomas Rittson
2021-04-15 14:54:58 +10:00
committed by GitHub
parent 75e27ffbe3
commit 3b2b37b3b0
4 changed files with 21 additions and 3 deletions

View File

@@ -327,6 +327,7 @@ namespace Bit.Core.Services
await _userService.SetSecurityStampAsync(response.SecurityStamp);
var organizations = response.Organizations.ToDictionary(o => o.Id, o => new OrganizationData(o));
await _userService.ReplaceOrganizationsAsync(organizations);
await _userService.SetEmailVerifiedAsync(response.EmailVerified);
}
private async Task SyncFoldersAsync(string userId, List<FolderResponse> response)