mirror of
https://github.com/bitwarden/mobile.git
synced 2024-12-27 17:08:00 +01:00
Added more api uris. lock screen bug in ios ext
This commit is contained in:
parent
952935de23
commit
2714c7cce9
@ -20,7 +20,9 @@ namespace Bit.App
|
||||
private void Init()
|
||||
{
|
||||
//BaseAddress = new Uri("http://169.254.80.80:4000"); // Desktop from VS Android Emulator
|
||||
BaseAddress = new Uri("https://api.bitwarden.com");
|
||||
//BaseAddress = new Uri("http://192.168.1.8:4000"); // Desktop
|
||||
//BaseAddress = new Uri("https://preview-api.bitwarden.com"); // Preview
|
||||
BaseAddress = new Uri("https://api.bitwarden.com"); // Production
|
||||
DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
|
||||
}
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ namespace Bit.iOS.Extension
|
||||
}
|
||||
|
||||
var key = _cryptoService.MakeKeyFromPassword(MasterPasswordCell.TextField.Text, _authService.Email);
|
||||
if(key.SequenceEqual(_cryptoService.Key))
|
||||
if(key.Key.SequenceEqual(_cryptoService.Key.Key))
|
||||
{
|
||||
_settings.AddOrUpdateValue(Constants.Locked, false);
|
||||
MasterPasswordCell.TextField.ResignFirstResponder();
|
||||
|
Loading…
Reference in New Issue
Block a user