1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-25 15:32:52 +00:00

Force select Outlook OAuth account

This commit is contained in:
M66B 2020-05-10 09:26:36 +02:00
parent 2f72e47d37
commit 866a0b81db

View file

@ -282,6 +282,9 @@ public class FragmentOAuth extends FragmentBase {
if ("gmail".equals(provider.id)) if ("gmail".equals(provider.id))
authRequestBuilder.setPrompt("consent"); authRequestBuilder.setPrompt("consent");
if ("outlook".equals(provider.id))
authRequestBuilder.setPrompt("select_account");
AuthorizationRequest authRequest = authRequestBuilder.build(); AuthorizationRequest authRequest = authRequestBuilder.build();
Log.i("OAuth request provider=" + provider.id); Log.i("OAuth request provider=" + provider.id);