Invidious is an alternative front-end to YouTube
User: Remove broken Google login (dedicated captcha route)
Samantaz Foxd3b04ac68c7d
diff --git a/src/invidious/routes/login.cr b/src/invidious/routes/login.crindex ca1e0d49..d0f7ac22 100644--- a/src/invidious/routes/login.cr+++ b/src/invidious/routes/login.cr@@ -211,11 +211,4 @@ module Invidious::Routes::Loginenv.redirect refererend-- def self.captcha(env)- headers = HTTP::Headers{":authority" => "accounts.google.com"}- response = YT_POOL.client &.get(env.request.resource, headers)- env.response.headers["Content-Type"] = response.headers["Content-Type"]- response.body- endenddiff --git a/src/invidious/routing.cr b/src/invidious/routing.crindex 72ee9194..daaf4d88 100644--- a/src/invidious/routing.cr+++ b/src/invidious/routing.cr@@ -57,7 +57,6 @@ module Invidious::Routingget "/login", Routes::Login, :login_pagepost "/login", Routes::Login, :loginpost "/signout", Routes::Login, :signout- get "/Captcha", Routes::Login, :captcha# User preferencesget "/preferences", Routes::PreferencesRoute, :show