Эх сурвалжийг харах

Pass user info result upon success

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 3 жил өмнө
parent
commit
f5b8bcd906

+ 2 - 0
src/main/java/com/owncloud/android/authentication/AuthenticatorAsyncTask.java

@@ -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);
         }