diff options
author | Chocobozzz <me@florianbigard.com> | 2018-10-01 15:18:07 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-01 15:20:14 +0200 |
commit | 601527d7953a83d6ad08dbb2ed8ac02851beaf1e (patch) | |
tree | 8c2c83b526a6f137043ef3c7c06cb13e03b94438 /server/middlewares/activitypub.ts | |
parent | 7361c401b17415931f25f3a2137ba22a06a6a4ed (diff) | |
download | PeerTube-601527d7953a83d6ad08dbb2ed8ac02851beaf1e.tar.gz PeerTube-601527d7953a83d6ad08dbb2ed8ac02851beaf1e.tar.zst PeerTube-601527d7953a83d6ad08dbb2ed8ac02851beaf1e.zip |
Check video channel name is unique on our instance
Diffstat (limited to 'server/middlewares/activitypub.ts')
-rw-r--r-- | server/middlewares/activitypub.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/activitypub.ts b/server/middlewares/activitypub.ts index 12d5c22c5..d7f59be8c 100644 --- a/server/middlewares/activitypub.ts +++ b/server/middlewares/activitypub.ts | |||
@@ -18,7 +18,7 @@ async function checkSignature (req: Request, res: Response, next: NextFunction) | |||
18 | try { | 18 | try { |
19 | actor = await getOrCreateActorAndServerAndModel(creator) | 19 | actor = await getOrCreateActorAndServerAndModel(creator) |
20 | } catch (err) { | 20 | } catch (err) { |
21 | logger.error('Cannot create remote actor and check signature.', { err }) | 21 | logger.warn('Cannot create remote actor %s and check signature.', creator, { err }) |
22 | return res.sendStatus(403) | 22 | return res.sendStatus(403) |
23 | } | 23 | } |
24 | 24 | ||