Skip to content

Commit

Permalink
Confirm page deprecate old encryption #154
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Nov 16, 2021
1 parent 1fb0f90 commit 7a4e993
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/confirm/src/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ const unhashPassword = async () => {
const compare = await bcrypt.compare(password_input.toString(), file.security.password).then(logger.log("Passwords compared!"))

if (compare == true) {
if (file.security.new_encryption === true) {
ipc.send("send_password", password_input)
}
ipc.send("send_password", password_input)

text.style.color = "#28A443"
text.textContent = "Passwords match! Please wait!"
Expand Down

0 comments on commit 7a4e993

Please sign in to comment.