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

Add language filters in user preferences

This commit is contained in:
Chocobozzz 2019-06-19 14:55:58 +02:00
parent bbe078ba55
commit 3caf77d3b1
No known key found for this signature in database
GPG key ID: 583A612D890159BE
24 changed files with 443 additions and 150 deletions

View file

@ -182,6 +182,7 @@ async function updateMe (req: express.Request, res: express.Response) {
if (body.webTorrentEnabled !== undefined) user.webTorrentEnabled = body.webTorrentEnabled
if (body.autoPlayVideo !== undefined) user.autoPlayVideo = body.autoPlayVideo
if (body.videosHistoryEnabled !== undefined) user.videosHistoryEnabled = body.videosHistoryEnabled
if (body.videoLanguages !== undefined) user.videoLanguages = body.videoLanguages
if (body.email !== undefined) {
if (CONFIG.SIGNUP.REQUIRES_EMAIL_VERIFICATION) {