pass 'only_if_expired: true' so clicking 'resend link' doesn't expire old tokens
This commit is contained in:
parent
4035c18f8e
commit
a28ce2d3b8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue