I'd like to be able to have the log in fields on another web site as outlined in Users - Authentication.
Problem is I have absolutely no idea what code is required to achieve this....
Can anyone help?
I have the same problem. Do I add the following to my config.php
$CFG->alternateloginurl = ' your url '; Do I change the "your url" or leave it like is?
Dear all, I have a quick question...
If I am to use the alternateloginurl (in either the site setting level or in the config.php level), for a 2-steps login process. Say, I created a static HTML page (e.g. requirement.html) with some web browser requirement info and so on, and then on the bottom of this static HTML page, I provide a link which would point to the real login page (e.g. /login/index.php)... would this work using the "alternateloginurl" for this purpose, or does the static HTML page really should contain a form which has the action property set to 'http://xx.xxx.xxx.xx/moodle/login/index.php' and return fields username and password??
If "alternate login URL" is not designed for this type of "2-step" login process, is my only option is to change the apache configuration file (/etc/httpd/conf/httpd.conf)?? Any other solutions to achieve this type of 2-steps login process? Many thanks!