We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41fff99 commit 53c2c5bCopy full SHA for 53c2c5b
a2/actions.js
@@ -131,7 +131,9 @@ async function login(userInput, passInput) {
131
132
// If the login was successful, show the dashboard.
133
if (result.response.ok) {
134
- sessionStorage.setItem('encryption_key', password);
+ const encryptionKey = await hashMessage(password);
135
+
136
+ sessionStorage.setItem('encryption_key', encryptionKey);
137
138
showContent("dashboard");
139
} else {
0 commit comments