Merge branch 'MDL-78408-master' of https://github.com/snake/moodle

This commit is contained in:
Andrew Nicols 2023-06-08 11:05:03 +08:00
commit b38ef87454
No known key found for this signature in database
GPG Key ID: 6D1E3157C8CFBF14

View File

@ -116,6 +116,8 @@
<a href="{{signupurl}}" class="sr-only">{{#str}} tocreatenewaccount {{/str}}</a>
{{/cansignup}}
<form class="login-form" action="{{loginurl}}" method="post" id="login">
<input id="anchor" type="hidden" name="anchor" value="">
<script>document.getElementById('anchor').value = location.hash;</script>
<input type="hidden" name="logintoken" value="{{logintoken}}">
<div class="login-form-username form-group">
<label for="username" class="sr-only">