Merge pull request #8779 from nextcloud/fixLogin

Pass user info result upon success
This commit is contained in:
Tobias Kaminsky 2021-07-30 13:25:51 +02:00 committed by GitHub
commit 412c5219ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,6 +88,8 @@ public class AuthenticatorAsyncTask extends AsyncTask<Object, Void, RemoteOperat
String permanentLocation = redirectionPath.getLastPermanentLocation();
result.setLastPermanentLocation(permanentLocation);
}
result.setResultData(userInfoResult.getResultData());
} else {
result = new RemoteOperationResult(RemoteOperationResult.ResultCode.UNKNOWN_ERROR);
}