User: Remove broken Google login (various comments)

This commit is contained in:
Samantaz Fox
2023-06-10 17:59:50 +02:00
parent 69f23d95b8
commit b06c87ff8d
4 changed files with 2 additions and 12 deletions

View File

@@ -178,10 +178,6 @@ module Invidious::Routes::API::V1::Authenticated
Invidious::Database::Users.subscribe_channel(user, ucid)
end
# For Google accounts, access tokens don't have enough information to
# make a request on the user's behalf, which is why we don't sync with
# YouTube.
env.response.status_code = 204
end

View File

@@ -320,10 +320,6 @@ module Invidious::Routes::Playlists
end
end
if !user.password
# TODO: Playlist stub, sync with YouTube for Google accounts
# playlist_ajax(playlist_id, action, env.request.headers)
end
email = user.email
case action