From dfc2c0eb45f1d20fd9b90170064abc8aeff1ddb0 Mon Sep 17 00:00:00 2001 From: Ari Archer Date: Sat, 9 Oct 2021 04:52:54 +0300 Subject: [PATCH] update @ Sat 9 Oct 04:52:54 EEST 2021 --- content/js/shell/func.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/js/shell/func.js b/content/js/shell/func.js index 5ac46f5..f4d97c0 100644 --- a/content/js/shell/func.js +++ b/content/js/shell/func.js @@ -151,8 +151,8 @@ function passwd() { if (current_password == localStorage.getItem('password')) { if (password1 === password2) { - localStorage.setItem("password", bash(password1)) - alert(`password set to '${password1}'`); + localStorage.setItem("password", hash(password1)) + alert(`password set`); } else { return "Passwords don't match" }