mirror of
https://github.com/bitwarden/mobile
synced 2025-12-24 12:13:18 +00:00
Fix iphone captcha throws (#1495)
This commit is contained in:
@@ -29,7 +29,7 @@ namespace Bit.Core.Models.Response
|
||||
{
|
||||
var model = errorModel.ToObject<ErrorModel>();
|
||||
Message = model.Message;
|
||||
ValidationErrors = model.ValidationErrors;
|
||||
ValidationErrors = model.ValidationErrors ?? new Dictionary<string, List<string>>();
|
||||
CaptchaSiteKey = ValidationErrors.ContainsKey("HCaptcha_SiteKey") ?
|
||||
ValidationErrors["HCaptcha_SiteKey"]?.FirstOrDefault() :
|
||||
null;
|
||||
|
||||
Reference in New Issue
Block a user