mirror of https://github.com/coder/code-server.git
Compare commits
3 Commits
963565d44d
...
bb6ba5387c
Author | SHA1 | Date |
---|---|---|
Benjamin Ummenhofer | bb6ba5387c | |
Benjamin Ummenhofer | a5e3bf3ef1 | |
Benjamin Ummenhofer | 175c68295f |
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue