<BUG>if (!prefsBean.getServerToStart().isPasswordMandatory()</BUG><CONTEXT>if (prefsBean != null) {intent.putExtra(EXTRA_PREFS_BEAN, prefsBean);}}protected static boolean isPasswordOk(PrefsBean prefsBean) {<extra_id_0>&& prefsBean.isPubKeyAuth()){return true;</CONTEXT>
if (prefsBean.isAnonymousLogin() || !prefsBean.getServerToStart().isPasswordMandatory()