1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

copy password from vault listings

This commit is contained in:
Kyle Spearrin
2017-06-08 22:25:01 -04:00
parent 366506555a
commit c094a26cbf
5 changed files with 32 additions and 1 deletions

View File

@@ -47,6 +47,11 @@
});
});
$scope.clipboardError = function (e) {
alert('Your web browser does not support easy clipboard copying. ' +
'Edit the login and copy it manually instead.');
};
$scope.filterByCollection = function (collection) {
return function (cipher) {
if (!cipher.collectionIds || !cipher.collectionIds.length) {
@@ -97,6 +102,7 @@
login.folderId = rootLogin.folderId = returnVal.data.folderId;
login.name = rootLogin.name = returnVal.data.name;
login.username = rootLogin.username = returnVal.data.username;
login.password = rootLogin.username = returnVal.data.password;
login.favorite = rootLogin.favorite = returnVal.data.favorite;
}
else if (returnVal.action === 'partialEdit') {