1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-23 12:31:06 -05:00

fix(captcha): [PM-21707] Add back captchaBypassToken stub value

This commit is contained in:
Todd Martin 2025-05-16 15:11:28 -04:00 committed by GitHub
parent cbf49b915b
commit fad91d8614
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,5 +6,12 @@ public class RegisterFinishResponseModel : ResponseModel
{ {
public RegisterFinishResponseModel() public RegisterFinishResponseModel()
: base("registerFinish") : base("registerFinish")
{ } {
// We are setting this to an empty string so that old mobile clients don't break, as they reqiure a non-null value.
// This will be cleaned up in https://bitwarden.atlassian.net/browse/PM-21720.
CaptchaBypassToken = string.Empty;
}
public string CaptchaBypassToken { get; set; }
} }