diff --git a/apps/identity/app.js b/apps/identity/app.js
index 6ed964af..274f9228 100644
--- a/apps/identity/app.js
+++ b/apps/identity/app.js
@@ -78,7 +78,7 @@ async function main() {
alert('Successfully created: ' + id);
await tfrpc.rpc.reload();
} catch (e) {
- alert('Error creating identity: ' + e);
+ alert('Error creating identity: ' + e.message);
}
}
handler.hide_id = function hide_id(event, element) {
diff --git a/core/client.js b/core/client.js
index e0e692a1..15ad38b0 100644
--- a/core/client.js
+++ b/core/client.js
@@ -208,7 +208,7 @@ class TfNavigationElement extends LitElement {
`;
- } else {
+ } else if (this.credentials?.session?.name && this.credentials.session.name !== 'guest') {
return html`