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