1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Handle external login errors

This commit is contained in:
Chocobozzz 2020-04-30 15:03:09 +02:00 committed by Chocobozzz
parent a4995eb7ac
commit bc90883f1a
7 changed files with 61 additions and 33 deletions

View file

@ -119,7 +119,7 @@ export class ClientHtml {
// Save locale in cookies
res.cookie('clientLanguage', lang, {
secure: WEBSERVER.SCHEME === 'https',
sameSite: true,
sameSite: 'none',
maxAge: 1000 * 3600 * 24 * 90 // 3 months
})