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
@ -707,7 +707,8 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
|
|||||||
if (extras == null) {
|
if (extras == null) {
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
return extras.getParcelable("accountAuthenticatorResponse") != null;
|
String authTokenType = extras.getString("authTokenType");
|
||||||
|
return "SSO".equals(authTokenType);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user