Commit d3c9d930 authored by jun's avatar jun Committed by Jenkins

MDL-63183 auth_shibboleth: Add hidden login token in guest login form

parent ff7941f0
......@@ -54,6 +54,7 @@ if ($show_instructions) {
<form action="../../login/index.php" method="post" id="guestlogin">
<div class="guestform">
<input type="hidden" name="logintoken" value="<?php echo s(\core\session\manager::get_login_token()); ?>" />
<input type="hidden" name="username" value="guest" />
<input type="hidden" name="password" value="guest" />
<input type="submit" value="<?php print_string("loginguest") ?>" />
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment