Merge pull request #3656 from iBicha/feature/auth-token-username

encode username on callback
pull/3638/merge
Émilien Devos (perso) 2 years ago committed by GitHub
commit 0995e0447c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save