Skip to content

Commit

Permalink
Auth: Add username to token callback (#3603)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamantazFox committed Feb 19, 2023
2 parents ba217c9 + e7a9aef commit cbbec00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/invidious/routes/account.cr
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ module Invidious::Routes::Account
end

query["token"] = access_token
query["username"] = user.email
url.query = query.to_s

env.redirect url.to_s
Expand Down

0 comments on commit cbbec00

Please sign in to comment.