1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-17 16:53:26 +00:00

[PM-2713] add migration for pin on lock screens

This commit is contained in:
Jacob Fink
2023-07-18 21:23:50 -04:00
parent bdfe806846
commit 7c664f58b3
12 changed files with 363 additions and 215 deletions

View File

@@ -396,9 +396,9 @@ namespace Bit.Core.Services
}
// TODO(Jake): Does this need to be secure storage?
public async Task<string> GetUserKeyPinAsync(string userId = null)
public async Task<EncString> GetUserKeyPinAsync(string userId = null)
{
return await _storageMediatorService.GetAsync<string>(Constants.UserKeyPinKey(userId), false);
return new EncString(await _storageMediatorService.GetAsync<string>(Constants.UserKeyPinKey(userId), false));
}
// TODO(Jake): Does this need to be secure storage?