Browse Source

Merge b6dc3fc3cf into 13f012fb81

pull/4464/merge
Huub van der Voort 4 days ago committed by GitHub
parent
commit
b9d4ef0e5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 9
      web/templates/login.html
  2. 5
      web/templates/password.html

9
web/templates/login.html

@ -16,4 +16,13 @@
</div>
</div>
<script type="text/javascript">
if (window.location.hash) {
var buttons = document.querySelectorAll('div.theme-form-row a');
buttons.forEach(function(button) {
button.href = button.href + window.location.hash;
});
}
</script>
{{ template "footer.html" . }}

5
web/templates/password.html

@ -38,6 +38,11 @@
var el = document.querySelector('#submit-login');
el.setAttribute('disabled', 'disabled');
};
if (window.location.hash) {
var form = document.querySelector('form');
form.action = (form.action || '') + window.location.hash;
}
</script>
{{ template "footer.html" . }}

Loading…
Cancel
Save