add login enter keydown event

Signed-off-by: tengattack <tengattack@foxmail.com>