Logout with Android SDK, but still login?

Hey,
i have a big problem. Everythig works fine until I want logout from my app. I press logout button, it logouts (make all in handleresponse - close current activity, go to login activity) then i fill up login and password again and then it occurs error 3044 (i got 1 multiple login for account saved):

Multiple login limit for the same user account has been reached.

Here is my logout method (i login with stayLoggedIn argument):

private void logoutUserAsync() {
AsyncCallback<Void> callback = new AsyncCallback<Void>() {
@Override
public void handleResponse(Void aVoid) {
Toast.makeText(MainActivity.this, "Logout", Toast.LENGTH_SHORT).show();
Intent goMain = new Intent(getApplicationContext(), LoginActivity.class);
//goMain.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK|Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(goMain);
finish();
}
@Override
public void handleFault(BackendlessFault backendlessFault) {
utils.progressDialogDismiss();
}
};
Backendless.UserService.logout(callback);
}

Hello,
Do you have “Enable Multiple Login” option turned on?
Artur

Yes. It is set for “1”.

It seems it doesn’t close a session after logout, because if i set session timeout for 1 second, it works fine.

There is no reason to enabling multiple logins and setting it to 1. Please disable this option and then login user with “stay logged in” option.

Ahh… works fine now…