fix login button double click error in other login plugin