support login by enter key down