My app is developed in CakePHP 3.6 using the CakeDC login.
Everything is working well, except automatically logging in new users post registration. Not sure if I’ve missed something along the way.
Due to the nature of the website, I’d rather verify the email exists after they are logged in, as it only impacts a few functions. Users.Email.validate is set to false and registrations give the message ‘You have registered successfully, please log in’.
Any help gratefully received - thanks.