mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #1486 from keepassxreboot/fix/trim_username_on_banner
Trim username when displaying Credential Banner
This commit is contained in:
commit
e75b73214d
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