Compare commits

...

3 Commits

Author SHA1 Message Date
Benjamin Ummenhofer bb6ba5387c
Merge a5e3bf3ef1 into 9a5726f250 2024-11-13 03:38:55 -05:00
Benjamin Ummenhofer a5e3bf3ef1
Merge branch 'coder:main' into url_passwd 2024-03-30 06:49:02 +01:00
Benjamin Ummenhofer 175c68295f
get password from the url 2023-03-24 15:05:36 +01:00
1 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,12 @@
if (el) {
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>
</body>
</html>