Skip to content

Commit

Permalink
chore: fix Oneall social unlinking from Apple accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
matin-deriv committed Jul 26, 2023
1 parent 0553c82 commit 84009b0
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ const DerivPassword = ({
const [is_sent_email_modal_open, setIsSentEmailModalOpen] = React.useState(false);

const onClickSendEmail = () => {
if (social_identity_provider === 'apple') {
WS.verifyEmail(email, 'request_email');
} else {
WS.verifyEmail(email, 'reset_password');
}
WS.verifyEmail(email, 'reset_password');
setIsSentEmailModalOpen(true);
};

Expand Down

0 comments on commit 84009b0

Please sign in to comment.