1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-05 23:53:33 +00:00

support for new btnReturnText in mobile webauthn connector (#1576)

* support for new btnReturnText in mobile webauthn connector

* added header text for connector localization
This commit is contained in:
Matt Portune
2021-10-14 11:53:41 -04:00
committed by Matt Portune
parent ab80c3d4c7
commit 5d02ed78f0
3 changed files with 11 additions and 0 deletions

View File

@@ -204,7 +204,9 @@ namespace Bit.App.Pages
{
callbackUri = callbackUri,
data = JsonConvert.SerializeObject(providerData),
headerText = AppResources.Fido2Title,
btnText = AppResources.Fido2AuthenticateWebAuthn,
btnReturnText = AppResources.Fido2ReturnToApp,
});
var url = _webVaultUrl + "/webauthn-mobile-connector.html?" + "data=" + data +

View File

@@ -3609,6 +3609,12 @@ namespace Bit.App.Resources {
}
}
public static string Fido2ReturnToApp {
get {
return ResourceManager.GetString("Fido2ReturnToApp", resourceCulture);
}
}
public static string Fido2CheckBrowser {
get {
return ResourceManager.GetString("Fido2CheckBrowser", resourceCulture);

View File

@@ -2039,6 +2039,9 @@
<data name="Fido2AuthenticateWebAuthn" xml:space="preserve">
<value>Authenticate WebAuthn</value>
</data>
<data name="Fido2ReturnToApp" xml:space="preserve">
<value>Return to App</value>
</data>
<data name="Fido2CheckBrowser" xml:space="preserve">
<value>Please make sure your default browser supports WebAuthn and try again.</value>
</data>