Browse Source

MatchType proper => Match

pull/240/head
Kyle Spearrin 8 years ago
parent
commit
c8aabf0b40
  1. 6
      src/Core/Models/Api/CipherLoginModel.cs
  2. 4
      src/Core/Models/Data/CipherLoginData.cs

6
src/Core/Models/Api/CipherLoginModel.cs

@ -50,19 +50,19 @@ namespace Bit.Core.Models.Api @@ -50,19 +50,19 @@ namespace Bit.Core.Models.Api
public LoginApiUriModel(string uri)
{
Uri = uri;
MatchType = UriMatchType.BaseDomain;
Match = UriMatchType.BaseDomain;
}
public LoginApiUriModel(CipherLoginData.LoginDataUriModel uri)
{
Uri = uri.Uri;
MatchType = uri.MatchType;
Match = uri.Match;
}
[EncryptedString]
[StringLength(10000)]
public string Uri { get; set; }
public UriMatchType MatchType { get; set; }
public UriMatchType Match { get; set; }
}
}
}

4
src/Core/Models/Data/CipherLoginData.cs

@ -30,11 +30,11 @@ namespace Bit.Core.Models.Data @@ -30,11 +30,11 @@ namespace Bit.Core.Models.Data
public LoginDataUriModel(CipherLoginModel.LoginApiUriModel uri)
{
Uri = uri.Uri;
MatchType = uri.MatchType;
Match = uri.Match;
}
public string Uri { get; set; }
public UriMatchType MatchType { get; set; }
public UriMatchType Match { get; set; }
}
}
}

Loading…
Cancel
Save