Browse Source

Added username to SAML credentials

David A. Velasco 9 years ago
parent
commit
6a8034ec24

+ 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);