1
0
mirror of https://github.com/bitwarden/server synced 2025-12-18 17:23:28 +00: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
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, };
}
}
}