Fix login from bitwarden iOS app with 2FA (#2399)
Fix login from bitwarden iOS app with 2FA (#2399)

When the 2 factors authentication is enabled on a Cozy instance, the iOS
bitwarden app crashs at the login. It looks like it is an issue with the
format of the JSON response. The code of the official bitwarden server
and clients didn't inspire me, but I've found those lines in
bitwarden_rs:

// https://github.com/dani-garcia/bitwarden_rs/blob/5cabf4d0400e0db3dffabc2cdafb803d811a01de/src/api/identity.rs#L338-L340
result["TwoFactorProviders2"][provider.to_string()] = json!({
    "Email": email::obscure_email(&email_data.email),
})

So, let's try this format.
nono/cozy-stack,nono/cozy-stack,nono/cozy-stack,nono/cozy-stack,nono/cozy-stack