Marino Faggiana 7 년 전
부모
커밋
44425163be
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      iOSClient/Login/CCLogin.m

+ 2 - 2
iOSClient/Login/CCLogin.m

@@ -340,8 +340,8 @@
 {
     tableAccount *account = [[NCManageDatabase sharedInstance] getAccountWithPredicate:[NSPredicate predicateWithFormat:@"account = %@", metadataNet.account]];
     
-    // Verify account && ID
-    if (account && userProfile.id.length > 0) {
+    // Verify account
+    if (account) {
     
         // Set this account as default
         tableAccount *account = [[NCManageDatabase sharedInstance] setAccountActive:metadataNet.account];