Regio- and chemoselective intermolecular hydroamination of allyl imines for the synthesis of 1,2-diamines.