Browse Source

check server on enter click

tobiaskaminsky 7 years ago
parent
commit
5252d24cee

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

@@ -2076,9 +2076,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
             }
             }
 
 
         } else if (actionId == EditorInfo.IME_ACTION_NEXT && inputField != null &&
         } else if (actionId == EditorInfo.IME_ACTION_NEXT && inputField != null &&
-                inputField.equals(mHostUrlInput) &&
-                AccountTypeUtils.getAuthTokenTypeSamlSessionCookie(MainApp.getAccountType()).
-                        equals(mAuthTokenType)) {
+                inputField.equals(mHostUrlInput)) {
             checkOcServer();
             checkOcServer();
         }
         }
         return false;   // always return false to grant that the software keyboard is hidden anyway
         return false;   // always return false to grant that the software keyboard is hidden anyway