mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Merge branch 'self-label' into 'main'
Fix Bluesky's selfLabel name See merge request soapbox-pub/ditto!602
This commit is contained in:
commit
dbfd1a9d35
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ function assertAuthenticated(c: AppContext, author: NostrEvent): void {
|
|||
!c.get('signer') && author.tags.some(([name, value, ns]) =>
|
||||
name === 'l' &&
|
||||
value === '!no-unauthenticated' &&
|
||||
ns === 'com.atproto.label.defs#selfLabels'
|
||||
ns === 'com.atproto.label.defs#selfLabel'
|
||||
)
|
||||
) {
|
||||
throw new HTTPException(401, { message: 'Sign-in required.' });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue