From a5e15a0ea4001c60f0fac8c79d5694f842d70a71 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 17 Aug 2026 03:33:31 +0000 Subject: [PATCH] fix: correct phone verification success notification After invalidate, the store holds the new phoneVerification value. Match the email path so the toast reports verified/unverified correctly. Fixes #1392 Co-authored-by: chiragaggarwal5k --- .../auth/user-[user]/updateStatus.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/(console)/project-[region]-[project]/auth/user-[user]/updateStatus.svelte b/src/routes/(console)/project-[region]-[project]/auth/user-[user]/updateStatus.svelte index ffbd35e64..59a425cd9 100644 --- a/src/routes/(console)/project-[region]-[project]/auth/user-[user]/updateStatus.svelte +++ b/src/routes/(console)/project-[region]-[project]/auth/user-[user]/updateStatus.svelte @@ -52,7 +52,7 @@ await invalidate(Dependencies.USER); addNotification({ message: `${$user.name || $user.email || $user.phone || 'The account'} has been ${ - $user.phoneVerification ? 'unverified' : 'verified' + !$user.phoneVerification ? 'unverified' : 'verified' }`, type: 'success' });