1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-26 03:31:34 +01:00

Revert "Add checksum to Login Uri models (#3318)" (#3417)

This reverts commit 778340ff16.
This commit is contained in:
Matt Gibson 2023-11-07 12:21:54 -05:00 committed by GitHub
parent 146d1972e4
commit b44887d125
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -74,21 +74,17 @@ public class CipherLoginModel
public CipherLoginUriModel(CipherLoginData.CipherLoginUriData uri)
{
Uri = uri.Uri;
UriChecksum = uri.UriChecksum;
Match = uri.Match;
}
[EncryptedString]
[EncryptedStringLength(10000)]
public string Uri { get; set; }
[EncryptedString]
[EncryptedStringLength(10000)]
public string UriChecksum { get; set; }
public UriMatchType? Match { get; set; } = null;
public CipherLoginData.CipherLoginUriData ToCipherLoginUriData()
{
return new CipherLoginData.CipherLoginUriData { Uri = Uri, UriChecksum = UriChecksum, Match = Match, };
return new CipherLoginData.CipherLoginUriData { Uri = Uri, Match = Match, };
}
}
}

View File

@ -26,7 +26,6 @@ public class CipherLoginData : CipherData
public CipherLoginUriData() { }
public string Uri { get; set; }
public string UriChecksum { get; set; }
public UriMatchType? Match { get; set; } = null;
}
}