Disclosed is a drug delivery device having an adapter configured for mounting a needle hub and a flange portion configured for cooperating with an orifice of a cap, the cap is configured to cover the adapter, and a latch mechanism configured for releasably engaging a detent or recess in a surface portion of the cap. In addition, the latch mechanism is configured to turn into an inoperable state when a needle hub is mounted to the adapter.