Marino Faggiana 7 years ago
parent
commit
b6d81f02b6
1 changed files with 5 additions and 1 deletions
  1. 5 1
      iOSClient/Login/CCLogin.m

+ 5 - 1
iOSClient/Login/CCLogin.m

@@ -103,7 +103,11 @@
         _baseUrl.userInteractionEnabled = NO;
         _baseUrl.textColor = [UIColor lightGrayColor];
         
-        _user.text = app.activeUser;
+        // https://github.com/nextcloud/ios/issues/331
+        tableAccount *tbAccount = [[NCManageDatabase sharedInstance] getAccountActive];
+        _user.text = tbAccount.username;
+        //_user.text = app.activeUser;
+        
         _user.userInteractionEnabled = NO;
         _user.textColor = [UIColor lightGrayColor];
     }