mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 18:04:43 +02:00
MDL-78408 core: fix restoration of anchor to wantsurl during login
This commit is contained in:
parent
84bb5725f8
commit
df95eace29
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user