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];