SOLVED: In the shopify admin, go to Settings > Customer accounts. Then click edit on the accounts in online store and checkout and then select “classic customer accounts”.
So when I click on the register link in my theme(that I am building from scratch), I get redirected to the register page. But when I click on the login link I get sent to Shopify’s login form show in the image above, NOT the login page I made. Also even if I physically type https://my-store-url/account/login, I get redirected to the image above again. I want to be able to get redirected to my custom login page.
This is what my login file looks like:
{% form 'customer_login' %}
{% endform %}
Create an account
{{ form.errors | default_errors }}
Email
Password