Skip to content

Instantly share code, notes, and snippets.

@xyulex
Last active March 7, 2024 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save xyulex/58b52ab40c9aff66f1db to your computer and use it in GitHub Desktop.
Save xyulex/58b52ab40c9aff66f1db to your computer and use it in GitHub Desktop.
Moodle: Alternative login URL
1. Configurar parámetro: alternateloginurl con la URL alternativa
2. Crear un fichero (html/php) que contenga el siguiente código:
<form method="post" action="http://yoursite.com/login/index.php">
<fieldset>
<label for="username">Username:</label><input type="text" name="username" id="username" />
<label for="password">Password:</label><input type="password" name="password" id="password" />
</fieldset>
<fieldset>
<input type="submit" value="Login" />
</fieldset>
</form>
@fardeadok
Copy link

its wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment