Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js/app
diff options
context:
space:
mode:
authorfnuesse <felix.nuesse@t-online.de>2019-01-08 23:40:23 +0300
committerfnuesse <felix.nuesse@t-online.de>2019-01-08 23:40:23 +0300
commit2a1c5b2777c3141fda6679e2e612ae028f947f74 (patch)
treecf41067c7edc5e884f94ad9383b91608abdb7626 /js/app
parentdeee11f454548d22d11fc90f0eab09d52bb1f7a3 (diff)
Added Button to compromise to edit_credential.js
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Diffstat (limited to 'js/app')
-rw-r--r--js/app/controllers/edit_credential.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/app/controllers/edit_credential.js b/js/app/controllers/edit_credential.js
index a4d59214..20c5df91 100644
--- a/js/app/controllers/edit_credential.js
+++ b/js/app/controllers/edit_credential.js
@@ -293,6 +293,11 @@
$scope.saving = false;
+ $scope.compromise = function () {
+ console.log("This password was compromised");
+ $scope.storedCredential.compromised=true;
+ };
+
$scope.saveCredential = function () {
$scope.saving = true;