mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-19 12:44:23 -05:00
Auth: Add username to token callback (#3603)
This commit is contained in:
commit
cbbec00e1c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user