Make scopes safe for browser
This commit is contained in:
parent
d6ecf5b8a9
commit
ca55890ad2
@ -113,7 +113,7 @@ pub async fn init(
|
||||
"https://github.com/login/oauth/authorize?client_id={}&state={}&scope={}",
|
||||
client_id,
|
||||
to_base62(state.0 as u64),
|
||||
"%20repo%20read%3Aorg%20read%3Auser%20user%3Aemail"
|
||||
"read%3Aorg%20read%3Auser%20user%3Aemail"
|
||||
);
|
||||
|
||||
Ok(HttpResponse::TemporaryRedirect()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user