This is what I want to do:
In the current login page that we have, we enter only the username and password, as usual. What I'd like to do is add additional user profile fields that the user has to enter to confirm that it really is the user. So in the end, the page will have 4 text input options: username, password, custom profile field 1 and 2. And all of them need to be correct before they can access the courses.
In order to do this, I know that I have to add text input fields to the login html page and pass the data from those to php files(s). The php files in turn will retrieve the username and password as usual, as well as the custom user profile data and verify if it's the user or not.
My problem is I don't know which html page and which php pages to modify in order to achieve this. Any help in this regard is much appreciated.