diff --git a/apps/intro.json b/apps/intro.json index 38de01c2..635a3aeb 100644 --- a/apps/intro.json +++ b/apps/intro.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "💡", - "previous": "&5mHBroqVkbIVIYi883j374WJTlbDb2RwrG/9zZUBA7Q=.sha256" + "previous": "&eN6DNPpQUNhGvxneLuLPgsOXR6qyFZ7u+MAz0b4fa7k=.sha256" } diff --git a/apps/intro/app.js b/apps/intro/app.js index 42a23c62..3a2313b7 100644 --- a/apps/intro/app.js +++ b/apps/intro/app.js @@ -5,7 +5,8 @@ async function main() { } tfrpc.register(async function complete() { - if ((await core.globalSettingsGet('index')) == '/~core/intro/') { + if (core.user?.credentials?.permissions?.administration && + (await core.globalSettingsGet('index')) == '/~core/intro/') { return await core.globalSettingsSet('index', '/~core/ssb/'); } });