From 7ae219ab23358e35b449449f0d0c4ee367dbb3ea Mon Sep 17 00:00:00 2001 From: "Stanko K.R." Date: Thu, 26 Mar 2026 16:00:02 +0100 Subject: [PATCH] Make the duplicate key error message friendly --- lib/action_pack/passkey/form_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/action_pack/passkey/form_helper.rb b/lib/action_pack/passkey/form_helper.rb index 43d023c9d..9857a7f9c 100644 --- a/lib/action_pack/passkey/form_helper.rb +++ b/lib/action_pack/passkey/form_helper.rb @@ -9,7 +9,7 @@ module ActionPack::Passkey::FormHelper REGISTRATION_ERROR_MESSAGE = "Something went wrong while registering your passkey." REGISTRATION_CANCELLED_MESSAGE = "Passkey registration was cancelled. Try again when you are ready." - REGISTRATION_DUPLICATE_MESSAGE = "You already have a passkey registered on this device. Remove the existing one first to re-register." + REGISTRATION_DUPLICATE_MESSAGE = "You already have a passkey registered on this device. Remove the existing one first and try again." SIGN_IN_ERROR_MESSAGE = "Something went wrong while signing in with your passkey." SIGN_IN_CANCELLED_MESSAGE = "Passkey sign in was cancelled. Try again when you are ready."