1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-18 01:03:24 +00:00

Same service for keychain storage across apps. Changed keychain access group name. Updated fill script with results from site selection in extension.

This commit is contained in:
Kyle Spearrin
2016-06-25 02:54:34 -04:00
parent 1307b6a1b2
commit e7fef012b8
5 changed files with 19 additions and 19 deletions

View File

@@ -7,7 +7,7 @@ namespace Bit.iOS.Extension.Models
{
public class FillScript
{
public FillScript(PageDetails pageDetails)
public FillScript(PageDetails pageDetails, string fillUsername, string fillPassword)
{
if(pageDetails == null)
{
@@ -36,11 +36,11 @@ namespace Bit.iOS.Extension.Models
if(username != null)
{
Script.Add(new List<string> { "click_on_opid", username.OpId });
Script.Add(new List<string> { "fill_by_opid", username.OpId, "me@example.com" });
Script.Add(new List<string> { "fill_by_opid", username.OpId, fillUsername });
}
Script.Add(new List<string> { "click_on_opid", password.OpId });
Script.Add(new List<string> { "fill_by_opid", password.OpId, "mypassword" });
Script.Add(new List<string> { "fill_by_opid", password.OpId, fillPassword });
if(loginForm.HtmlAction != null)
{