From a44a73a17c0c7b66cc67eea3500ef698caf26b0e Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Mon, 22 Jan 2024 08:02:48 +0200 Subject: [PATCH] fixed unverified typos --- apis/record_helpers_test.go | 4 ++-- ui/src/components/collections/CollectionAuthOptionsTab.svelte | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apis/record_helpers_test.go b/apis/record_helpers_test.go index 6ec10827..8eb679f3 100644 --- a/apis/record_helpers_test.go +++ b/apis/record_helpers_test.go @@ -87,7 +87,7 @@ func TestRecordAuthResponse(t *testing.T) { t.Fatal(err) } - unverfiedAuthRecord, err := app.Dao().FindRecordById("clients", "o1y0dd0spd786md") + unverifiedAuthRecord, err := app.Dao().FindRecordById("clients", "o1y0dd0spd786md") if err != nil { t.Fatal(err) } @@ -108,7 +108,7 @@ func TestRecordAuthResponse(t *testing.T) { }, { name: "valid auth record but with unverified email in onlyVerified collection", - record: unverfiedAuthRecord, + record: unverifiedAuthRecord, expectError: true, }, { diff --git a/ui/src/components/collections/CollectionAuthOptionsTab.svelte b/ui/src/components/collections/CollectionAuthOptionsTab.svelte index 8f48e1d6..8e8ae565 100644 --- a/ui/src/components/collections/CollectionAuthOptionsTab.svelte +++ b/ui/src/components/collections/CollectionAuthOptionsTab.svelte @@ -227,7 +227,7 @@ class="ri-information-line txt-sm link-hint" use:tooltip={{ text: [ - "If enabled, it returns 403 for new unverfied user authentication requests.", + "If enabled, it returns 403 for new unverified user authentication requests.", "If you need more granular control, don't enable this option and instead use the `@request.auth.verified = true` rule in the specific collection(s) you are targeting.", ].join("\n"), position: "right",