forked from olcxjas-softworks/LarpixClient
DM keys!!!
This commit is contained in:
parent
a660ba32bd
commit
8f28879f18
4 changed files with 686 additions and 4 deletions
|
|
@ -103,6 +103,12 @@
|
|||
let res = await Auth(username, password);
|
||||
clearAction("startauth");
|
||||
if (res.startsWith("success:")) {
|
||||
try {
|
||||
await ensureUserKeys();
|
||||
} catch (e) {
|
||||
//if fails continue loading encryption may be broken
|
||||
console.error(e);
|
||||
}
|
||||
await refreshDms();
|
||||
} else {
|
||||
showBlahNotification("error:auth.failed.redirect.to.login");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue