From a28ce2d3b849b642275e6f68e53c3862449d5b0e Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 25 Aug 2020 10:18:11 -0400 Subject: [PATCH] pass 'only_if_expired: true' so clicking 'resend link' doesn't expire old tokens --- ui/redux/actions/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/redux/actions/user.js b/ui/redux/actions/user.js index e333b55aa..e3fdd6756 100644 --- a/ui/redux/actions/user.js +++ b/ui/redux/actions/user.js @@ -492,7 +492,7 @@ export function doUserResendVerificationEmail(email) { }); }; - Lbryio.call('user_email', 'resend_token', { email }, 'post') + Lbryio.call('user_email', 'resend_token', { email, only_if_expired: true }, 'post') .catch(error => { if (error.response && error.response.status === 409) { throw error;