Skip to content

Commit 6e27409

Browse files
grgiaOSBotify
authored andcommitted
Merge pull request #49221 from CyberAndrii/49215-fix-verification
Optimistically set `account.validated` on validation (cherry picked from commit b3ddc8f) (CP triggered by grgia)
1 parent c4e8549 commit 6e27409

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/libs/actions/User.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,10 @@ function validateSecondaryLogin(loginList: OnyxEntry<LoginList>, contactMethod:
617617
{
618618
onyxMethod: Onyx.METHOD.MERGE,
619619
key: ONYXKEYS.ACCOUNT,
620-
value: {isLoading: false},
620+
value: {
621+
isLoading: false,
622+
validated: true,
623+
},
621624
},
622625
{
623626
onyxMethod: Onyx.METHOD.MERGE,

0 commit comments

Comments
 (0)