mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Merge pull request #3656 from iBicha/feature/auth-token-username
encode username on callback
This commit is contained in:
commit
0995e0447c
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ module Invidious::Routes::Account
|
||||||
end
|
end
|
||||||
|
|
||||||
query["token"] = access_token
|
query["token"] = access_token
|
||||||
query["username"] = user.email
|
query["username"] = URI.encode_path_segment(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 a new issue