Compare commits

...

4 Commits

Author SHA1 Message Date
Benjamin Ummenhofer 963565d44d
Merge a5e3bf3ef1 into 912a7a9d89 2024-11-15 19:32:01 +00:00
Olivier Benz 912a7a9d89
Update Code to 1.95.3 (#7078) 2024-11-15 10:30:56 -09: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
2 changed files with 7 additions and 1 deletions

@ -1 +1 @@
Subproject commit e8653663e8840adaf45af01eab5c627a5af81807 Subproject commit f1a4fb101478ce6ec82fe9627c43efbf9e98c813

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>