mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
accountLookupController: support !no-unauthenticated
This commit is contained in:
parent
1dc19ef422
commit
4ed66b8fe5
1 changed files with 1 additions and 0 deletions
|
|
@ -98,6 +98,7 @@ const accountLookupController: AppController = async (c) => {
|
||||||
|
|
||||||
const event = await lookupAccount(decodeURIComponent(acct));
|
const event = await lookupAccount(decodeURIComponent(acct));
|
||||||
if (event) {
|
if (event) {
|
||||||
|
assertAuthenticated(c, event);
|
||||||
return c.json(await renderAccount(event));
|
return c.json(await renderAccount(event));
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue