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 <chiragaggarwal5k@gmail.com>
This commit is contained in:
Cursor Agentandchiragaggarwal5k committed 2026-08-17 03:33:31 +00:00
1 parent 55792bc61b
commit a5e15a0ea4
1 file changed
+1 -1
@@ -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'
});