Make scopes safe for browser

This commit is contained in:
Jai A 2020-09-29 11:46:11 -07:00
parent d6ecf5b8a9
commit ca55890ad2
No known key found for this signature in database
GPG Key ID: E8B7DFB8C62797AC

View File

@ -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()