Skip to content

Commit

Permalink
Removed the attempt to login when creating an account
Browse files Browse the repository at this point in the history
  • Loading branch information
KlasJoensson committed Sep 11, 2012
1 parent 86d7c6c commit 61951cc
Showing 1 changed file with 1 addition and 20 deletions.
Expand Up @@ -356,29 +356,10 @@ public boolean createAccount() {
}
}
sandbox.createAccount(accountId, properties, accountType);

accountLoggIn();


return true;
}

private void accountLoggIn() {
if (!loggedInToAccount) {
IUserManager usermanager = Activator.getDefault().getUserManager();
loggedInToAccount = usermanager.signInToAccount( accountType );
if (!loggedInToAccount) {
MessageDialog.openInformation( PlatformUI.getWorkbench()
.getActiveWorkbenchWindow()
.getShell(),
"Feature log-in failure",
"Bioclipse failed to log" +
"-in to " + accountId +
"\nPlease check our login " +
"details and Internet connection." );
}
}
}

/**
* This method reports if all of the necessary fields are filled in.
*
Expand Down

0 comments on commit 61951cc

Please sign in to comment.