Add username to auth token callback

This commit is contained in:
Brahim Hadriche 2023-01-30 10:49:23 -05:00
parent 3b8e6c6040
commit e7a9aeff95

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