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:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user