mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Trim username when displaying Credential Banner
This commit is contained in:
parent
bfe18345b5
commit
254f04ba2e
1 changed files with 1 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ kpxcBanner.create = async function(credentials = {}) {
|
|||
return;
|
||||
}
|
||||
|
||||
credentials.username = credentials.username.trim();
|
||||
kpxcBanner.credentials = credentials;
|
||||
|
||||
const banner = kpxcUI.createElement('div', 'kpxc-banner', { 'id': 'container' });
|
||||
|
|
|
|||
Loading…
Reference in a new issue