accountLookupController: support !no-unauthenticated

This commit is contained in:
Alex Gleason
2024-11-25 22:44:14 -06:00
parent 1dc19ef422
commit 4ed66b8fe5

View File

@@ -98,6 +98,7 @@ const accountLookupController: AppController = async (c) => {
const event = await lookupAccount(decodeURIComponent(acct));
if (event) {
assertAuthenticated(c, event);
return c.json(await renderAccount(event));
}
try {