This commit is contained in:
Benjamin Ummenhofer 2024-10-18 22:57:11 +00:00 committed by GitHub
commit 3d15259c89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,12 @@
if (el) { if (el) {
el.value = location.href el.value = location.href
} }
// get password from the url
let url = new URL(window.location.href)
if( url.searchParams.get("session_password") ){
document.getElementsByName("password")[0].value = url.searchParams.get("session_password")
document.getElementsByClassName("submit")[0].click()
}
</script> </script>
</body> </body>
</html> </html>