mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-18 11:05:41 +01:00
hostname as name when adding login from notif.
This commit is contained in:
parent
191042411c
commit
8cb524cf02
@ -193,7 +193,7 @@ export default class RuntimeBackground {
|
||||
loginModel.username = loginInfo.username;
|
||||
loginModel.password = loginInfo.password;
|
||||
const model = new CipherView();
|
||||
model.name = loginInfo.name;
|
||||
model.name = UtilsService.getHostname(loginInfo.uri) || loginInfo.domain;
|
||||
model.type = CipherType.Login;
|
||||
model.login = loginModel;
|
||||
|
||||
@ -249,7 +249,6 @@ export default class RuntimeBackground {
|
||||
this.main.loginsToAdd.push({
|
||||
username: loginInfo.username,
|
||||
password: loginInfo.password,
|
||||
name: loginDomain,
|
||||
domain: loginDomain,
|
||||
uri: loginInfo.url,
|
||||
tabId: tab.id,
|
||||
|
Loading…
Reference in New Issue
Block a user