mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 02:17:43 +03:00
Merge pull request #7124 from nextcloud/loginQR
use custom SSO value for authTokenType -> to detect if account is added by SSO
This commit is contained in:
commit
d4d22c4a27
1 changed files with 2 additions and 1 deletions
|
@ -707,7 +707,8 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
|
|||
if (extras == null) {
|
||||
return false;
|
||||
} else {
|
||||
return extras.getParcelable("accountAuthenticatorResponse") != null;
|
||||
String authTokenType = extras.getString("authTokenType");
|
||||
return "SSO".equals(authTokenType);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue