mirror of https://github.com/coder/code-server.git
Compare commits
4 Commits
bb6ba5387c
...
963565d44d
Author | SHA1 | Date |
---|---|---|
Benjamin Ummenhofer | 963565d44d | |
Olivier Benz | 912a7a9d89 | |
Benjamin Ummenhofer | a5e3bf3ef1 | |
Benjamin Ummenhofer | 175c68295f |
|
@ -1 +1 @@
|
||||||
Subproject commit e8653663e8840adaf45af01eab5c627a5af81807
|
Subproject commit f1a4fb101478ce6ec82fe9627c43efbf9e98c813
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue