mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +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; }
|
public string AccessCode { get; set; }
|
||||||
[Required]
|
[Required]
|
||||||
public AuthRequestType? Type { get; set; }
|
public AuthRequestType? Type { get; set; }
|
||||||
[Required]
|
|
||||||
public string FingerprintPhrase { get; set; }
|
public string FingerprintPhrase { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,8 +12,7 @@ public class AuthRequestCompare : IEqualityComparer<AuthRequest>
|
|||||||
x.PublicKey == y.PublicKey &&
|
x.PublicKey == y.PublicKey &&
|
||||||
x.RequestDeviceIdentifier == y.RequestDeviceIdentifier &&
|
x.RequestDeviceIdentifier == y.RequestDeviceIdentifier &&
|
||||||
x.RequestDeviceType == y.RequestDeviceType &&
|
x.RequestDeviceType == y.RequestDeviceType &&
|
||||||
x.RequestIpAddress == y.RequestIpAddress &&
|
x.RequestIpAddress == y.RequestIpAddress;
|
||||||
x.RequestFingerprint == y.RequestFingerprint;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int GetHashCode([DisallowNull] AuthRequest obj)
|
public int GetHashCode([DisallowNull] AuthRequest obj)
|
||||||
|
Loading…
Reference in New Issue
Block a user