1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-30 13:03:53 +01:00

Merge branch 'master' of github.com:bitwarden/browser

This commit is contained in:
Kyle Spearrin 2018-11-14 08:36:32 -05:00
commit 941c942124

View File

@ -216,7 +216,7 @@ export default class RuntimeBackground {
loginModel.password = queueMessage.password; loginModel.password = queueMessage.password;
const model = new CipherView(); const model = new CipherView();
model.name = Utils.getHostname(queueMessage.uri) || queueMessage.domain; model.name = Utils.getHostname(queueMessage.uri) || queueMessage.domain;
model.name = model.name.replace(/^www./, ''); model.name = model.name.replace(/^www\./, '');
model.type = CipherType.Login; model.type = CipherType.Login;
model.login = loginModel; model.login = loginModel;