mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
use custom SSO value for authTokenType -> to detect if account is added by SSO
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
3ffd6d5f4f
commit
2866e1848a
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