Compare commits

...

4 Commits

Author SHA1 Message Date
Benjamin Ummenhofer 8143912f3a
Merge a5e3bf3ef1 into b0c935a6e0 2024-11-16 13:45:07 -05:00
Asher b0c935a6e0
Fix v4.59 changelog links 2024-11-15 10:32:14 -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 8 additions and 2 deletions

View File

@ -22,7 +22,7 @@ Code v99.99.999
## Unreleased ## Unreleased
## [4.95.2](https://github.com/coder/code-server/releases/tag/v4.93.1) - 2024-11-12 ## [4.95.2](https://github.com/coder/code-server/releases/tag/v4.95.2) - 2024-11-12
Code v1.95.2 Code v1.95.2
@ -30,7 +30,7 @@ Code v1.95.2
- Update to Code 1.95.2. - Update to Code 1.95.2.
## [4.95.1](https://github.com/coder/code-server/releases/tag/v4.93.1) - 2024-11-06 ## [4.95.1](https://github.com/coder/code-server/releases/tag/v4.95.1) - 2024-11-06
Code v1.95.1 Code v1.95.1

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>