summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2019-01-31 14:40:26 -0600
committerOmar Roth <omarroth@hotmail.com>2019-01-31 14:40:26 -0600
commitcef061d6fb62cee6ebd87c7d98c778fccb9271bb (patch)
treef372feaf6e5b0772330c6c06df4fc6a7da924016 /src
parentdef58ff11f226f6d8f6cafc7b743e8ba2434fd72 (diff)
downloadinvidious-cef061d6fb62cee6ebd87c7d98c778fccb9271bb.tar.gz
invidious-cef061d6fb62cee6ebd87c7d98c778fccb9271bb.tar.bz2
invidious-cef061d6fb62cee6ebd87c7d98c778fccb9271bb.zip
Fix incorrect default in user preferences
Diffstat (limited to 'src')
-rw-r--r--src/invidious.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index a720670a..69bbed77 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -1146,7 +1146,7 @@ post "/preferences" do |env|
captions = [captions_0, captions_1, captions_2]
related_videos = env.params.body["related_videos"]?.try &.as(String)
- related_videos ||= "off"
+ related_videos ||= "on"
related_videos = related_videos == "on"
redirect_feed = env.params.body["redirect_feed"]?.try &.as(String)