There's two `secure` lines here. Does one take precedence over the other? Do we only need one?