Merge pull request #64 from modrinth/auth-fix

Make scopes safe for browser
This commit is contained in:
Geometrically
2020-09-29 12:56:58 -07:00
committed by GitHub

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%3Auser%20user%3Aemail"
);
Ok(HttpResponse::TemporaryRedirect()