Преглед изворни кода

Added username to SAML credentials

David A. Velasco пре 9 година
родитељ
комит
6a8034ec24
2 измењених фајлова са 3 додато и 2 уклоњено
  1. 1 1
      owncloud-android-library
  2. 2 1
      src/com/owncloud/android/services/OperationsService.java

+ 1 - 1
owncloud-android-library

@@ -1 +1 @@
-Subproject commit 3b9777c5b67b63792ffb86e9da6c12d3264b4f59
+Subproject commit 1fa8e79b3fbf3e255f62484aa5fbf33f2ce35f1a

+ 2 - 1
src/com/owncloud/android/services/OperationsService.java

@@ -457,7 +457,8 @@ public class OperationsService extends Service {
                                 // TODO refactor to run GetUserName as AsyncTask in the context of
                                 // AuthenticatorActivity
                                 credentials = OwnCloudCredentialsFactory.newSamlSsoCredentials(
-                                        mLastTarget.mCookie); // SAML SSO
+                                        null,                   // unknown
+                                        mLastTarget.mCookie);   // SAML SSO
                             }
                             OwnCloudAccount ocAccount = new OwnCloudAccount(
                                     mLastTarget.mServerUrl, credentials);