Sponsor: trim pasted token in UI (#31841)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
This commit is contained in:
parent
20a1c0886e
commit
09b0d9cb25
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ export default {
|
|||
handlePaste(event, values) {
|
||||
event.preventDefault();
|
||||
const text = event.clipboardData.getData("text");
|
||||
values.token = cleanYaml(text, "sponsortoken");
|
||||
values.token = cleanYaml(text, "sponsortoken").trim();
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue