mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Request Gmail consent
This is necessary for people having used the Gmail quick setup before
This commit is contained in:
@@ -228,7 +228,8 @@ public class FragmentOAuth extends FragmentBase {
|
||||
.setState(provider.id)
|
||||
.setAdditionalParameters(params);
|
||||
|
||||
if ("gmail".equals(provider.id) && BuildConfig.DEBUG)
|
||||
// For offline access
|
||||
if ("gmail".equals(provider.id))
|
||||
authRequestBuilder.setPrompt("consent");
|
||||
|
||||
AuthorizationRequest authRequest = authRequestBuilder.build();
|
||||
|
||||
Reference in New Issue
Block a user