瀏覽代碼

OC-2640: Fix Bug: Log in screen disappear when trying to log in again with the same user

masensio 11 年之前
父節點
當前提交
1d70ae81ea
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/com/owncloud/android/authentication/AuthenticatorActivity.java

+ 1 - 2
src/com/owncloud/android/authentication/AuthenticatorActivity.java

@@ -805,8 +805,7 @@ implements  OnRemoteOperationListener, OnSslValidatorListener, OnFocusChangeList
             
             if ( mAction == ACTION_CREATE) {
                 mUsernameInput.setText(username);
-                createAccount();
-                success = true;
+                success = createAccount();
             } else {
                 
                 if (!mUsernameInput.getText().toString().equals(username)) {