fix: if we don't have a key stored, abort
This commit is contained in:
parent
2bd7235929
commit
20641e35d3
|
@ -25,6 +25,11 @@ export function boot() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!userKey) {
|
||||||
|
sendAuthUpdate();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
log("user is already logged in, attempting to load kernel");
|
log("user is already logged in, attempting to load kernel");
|
||||||
setActivePortalMasterKey(userKey);
|
setActivePortalMasterKey(userKey);
|
||||||
setLoginComplete(true);
|
setLoginComplete(true);
|
||||||
|
|
Reference in New Issue