mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
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 => {
|
.catch(error => {
|
||||||
if (error.response && error.response.status === 409) {
|
if (error.response && error.response.status === 409) {
|
||||||
throw error;
|
throw error;
|
||||||
|
|
Loading…
Add table
Reference in a new issue