Sponsor: trim pasted token in UI (#31841)

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2026-07-16 14:21:02 +00:00 • committed by GitHub
parent 20a1c0886e
commit 09b0d9cb25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();
},
},
};