we made a totally custom login page in our Magento 2.2
on form submit, we send the credentials to a custom php page.
In the custom page we get
$_POST['email'] and $_POST['password'].
How to trigger the magento customer login in this custom PHP script?
We tried some, but without success...