mirror of https://github.com/M66B/FairEmail.git
Request Gmail consent
This is necessary for people having used the Gmail quick setup before
This commit is contained in:
parent
f080d34297
commit
bd418a275c
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue