Auth: Add username to token callback (#3603)

This commit is contained in:
Samantaz Fox 2023-02-19 16:46:51 +01:00
commit cbbec00e1c
No known key found for this signature in database
GPG key ID: F42821059186176E

View file

@ -262,6 +262,7 @@ module Invidious::Routes::Account
end end
query["token"] = access_token query["token"] = access_token
query["username"] = user.email
url.query = query.to_s url.query = query.to_s
env.redirect url.to_s env.redirect url.to_s