Added more api uris. lock screen bug in ios ext

This commit is contained in:
Kyle Spearrin 2017-04-21 09:12:30 -04:00
parent 952935de23
commit 2714c7cce9
2 changed files with 4 additions and 2 deletions

View File

@ -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"));
}
}

View File

@ -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();