mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
[PM-1317] Make fingerprint phrase property optional. (#2796)
This commit is contained in:
parent
2f6e463012
commit
3008759e8a
@ -17,7 +17,6 @@ public class AuthRequestCreateRequestModel
|
||||
public string AccessCode { get; set; }
|
||||
[Required]
|
||||
public AuthRequestType? Type { get; set; }
|
||||
[Required]
|
||||
public string FingerprintPhrase { get; set; }
|
||||
}
|
||||
|
||||
|
@ -12,8 +12,7 @@ public class AuthRequestCompare : IEqualityComparer<AuthRequest>
|
||||
x.PublicKey == y.PublicKey &&
|
||||
x.RequestDeviceIdentifier == y.RequestDeviceIdentifier &&
|
||||
x.RequestDeviceType == y.RequestDeviceType &&
|
||||
x.RequestIpAddress == y.RequestIpAddress &&
|
||||
x.RequestFingerprint == y.RequestFingerprint;
|
||||
x.RequestIpAddress == y.RequestIpAddress;
|
||||
}
|
||||
|
||||
public int GetHashCode([DisallowNull] AuthRequest obj)
|
||||
|
Loading…
Reference in New Issue
Block a user